Skip to content
This repository has been archived by the owner on Apr 5, 2022. It is now read-only.

Commit

Permalink
Use the latest version of the Spring IO Plugin
Browse files Browse the repository at this point in the history
Spring IO Platform 2.0 will remove the managed versions .properties
file as support for it has been removed in Spring Boot 1.3.

This commit moves the build onto a new version of the Spring IO Plugin
that uses the Maven bom rather than the properties file.
  • Loading branch information
wilkinsona committed Jul 9, 2015
1 parent 94afd2c commit 25a4fa0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions build.gradle
Expand Up @@ -7,7 +7,7 @@ buildscript {
classpath 'me.champeau.gradle:gradle-javadoc-hotfix-plugin:0.1'
classpath('org.asciidoctor:asciidoctor-gradle-plugin:0.7.0')
classpath('org.asciidoctor:asciidoctor-java-integration:0.1.4.preview.1')
classpath('org.springframework.build.gradle:spring-io-plugin:0.0.3.RELEASE')
classpath('io.spring.gradle:spring-io-plugin:0.0.4.RELEASE')
}
}

Expand Down Expand Up @@ -55,7 +55,7 @@ configure(allprojects - docProjects) {
]

sourceSets.test.resources.srcDirs = [
"src/test/resources",
"src/test/resources",
"src/test/java"
]

Expand Down Expand Up @@ -98,8 +98,12 @@ configure(subprojects - docProjects) { subproject ->
maven { url "https://repo.spring.io/libs-snapshot" }
}

dependencies {
springIoVersions "io.spring.platform:platform-versions:${platformVersion}@properties"
dependencyManagement {
springIoTestRuntime {
imports {
mavenBom "io.spring.platform:platform-bom:${platformVersion}"
}
}
}
}

Expand Down Expand Up @@ -214,7 +218,7 @@ configure(rootProject) {

dependencies { // for integration tests
}

task api(type: Javadoc) {
group = "Documentation"
description = "Generates aggregated Javadoc API documentation."
Expand Down Expand Up @@ -268,7 +272,7 @@ configure(rootProject) {
archives dist
archives project(':docs').docsZip
archives project(':docs').schemaZip
}
}

task wrapper(type: Wrapper) {
gradleVersion = '1.12'
Expand Down

0 comments on commit 25a4fa0

Please sign in to comment.