
To be compatible with Gradle's plugin portal, plugins must have an ID that uses a reverse domain name. This means that spring-boot is not compatible. This commit introduces a new ID, org.springframework.boot, and deprecates the old ID. Closes gh-6997
31 lines
466 B
Groovy
31 lines
466 B
Groovy
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'
|
|
|
|
jar {
|
|
baseName = 'classifier-extension'
|
|
}
|
|
|
|
springBoot {
|
|
classifier = 'exec'
|
|
mainClass = 'demo.Application'
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compile "org.springframework:spring-core"
|
|
}
|