buildscript {
	repositories {
		mavenLocal()
	}
	dependencies {
		classpath("org.springframework.boot:spring-boot-gradle-plugin:${project.bootVersion}")
	}
}

apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'org.springframework.boot'

group = 'installer'
version = '0.0.0'

install {
    repositories.mavenInstaller {
        pom.project {
          parent {
            groupId 'org.springframework.boot'
            artifactId 'spring-boot-starter-parent'
            version "${project.bootVersion}"
          }
        }
    }
}

jar {
	baseName =  'installer'
}

repositories {
	mavenLocal()
	mavenCentral()
}

dependencies {
	compile "org.springframework.boot:spring-boot-starter"
}
