
This reverts commit b1c0a7cda486e4f745b4233715efb8c0dc2814df. The plugin publishing process has moved to a new plugin-based approach that brings with it some significant limitations: - There's no staging to allow the promotion of good release builds - There's no easy way to upload an existing artifact - There's no control over the published pom. The risk brought by these limitations, particularly the first, are too great so we will no be publishing the Boot plugin to the Portal until they're resolved. Changing the plugin's ID was a breaking change that would require users to do some work when they upgrade to Boot 1.3. The ID of the plugin was changed purely so that it met the Portal's requirements. Given that the plugin will not be published to the Portal for the foreseaable future there's no need for us to inflict a breaking change on people when there will be no benefit. See gh-1567
53 lines
1.3 KiB
Groovy
53 lines
1.3 KiB
Groovy
buildscript {
|
|
ext {
|
|
springBootVersion = '1.3.0.BUILD-SNAPSHOT'
|
|
springLoadedVersion = '1.2.0.RELEASE'
|
|
}
|
|
repositories {
|
|
// NOTE: You should declare only repositories that you need here
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url "http://repo.spring.io/release" }
|
|
maven { url "http://repo.spring.io/milestone" }
|
|
maven { url "http://repo.spring.io/snapshot" }
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
classpath("org.springframework:springloaded:${springLoadedVersion}")
|
|
}
|
|
}
|
|
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'spring-boot'
|
|
|
|
mainClassName = "sample.ui.SampleWebUiApplication"
|
|
|
|
springBoot {
|
|
classifier = 'exec'
|
|
}
|
|
|
|
jar {
|
|
baseName = 'spring-boot-sample-web-ui'
|
|
version = '0.0.0'
|
|
}
|
|
|
|
repositories {
|
|
// NOTE: You should declare only repositories that you need here
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven { url "http://repo.spring.io/release" }
|
|
maven { url "http://repo.spring.io/milestone" }
|
|
maven { url "http://repo.spring.io/snapshot" }
|
|
}
|
|
|
|
dependencies {
|
|
compile("org.springframework.boot:spring-boot-starter-thymeleaf")
|
|
compile("org.hibernate:hibernate-validator")
|
|
testCompile("org.springframework.boot:spring-boot-starter-test")
|
|
}
|
|
|
|
task wrapper(type: Wrapper) { gradleVersion = '1.6' }
|