fixing springloaded build to work as non java 1.8 minimum for now until asm fixes are done
This commit is contained in:
@@ -17,8 +17,8 @@ subprojects {
|
|||||||
apply plugin: 'eclipse'
|
apply plugin: 'eclipse'
|
||||||
apply from: "$rootDir/gradle/publish-maven.gradle"
|
apply from: "$rootDir/gradle/publish-maven.gradle"
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.6
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.6
|
||||||
}
|
}
|
||||||
|
|
||||||
configure(subprojects.findAll { it.name.startsWith('testdata')}) {
|
configure(subprojects.findAll { it.name.startsWith('testdata')}) {
|
||||||
|
|||||||
@@ -3,8 +3,8 @@ apply plugin: 'maven'
|
|||||||
group = "org.springframework"
|
group = "org.springframework"
|
||||||
jar.baseName = 'springloaded'
|
jar.baseName = 'springloaded'
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.6
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.6
|
||||||
|
|
||||||
task writeNewPom {
|
task writeNewPom {
|
||||||
doLast {
|
doLast {
|
||||||
@@ -47,16 +47,16 @@ dependencies {
|
|||||||
compile 'org.ow2.asm:asm:5.2'
|
compile 'org.ow2.asm:asm:5.2'
|
||||||
compile 'org.ow2.asm:asm-tree:5.2'
|
compile 'org.ow2.asm:asm-tree:5.2'
|
||||||
|
|
||||||
testCompile 'junit:junit:4.11'
|
testImplementation 'junit:junit:4.11'
|
||||||
|
|
||||||
testCompileOnly files("../testdata-groovy/groovy-all-1.8.6.jar")
|
testImplementation files("../testdata-groovy/groovy-all-1.8.6.jar")
|
||||||
testCompileOnly project(':testdata')
|
testImplementation(project(':testdata'))
|
||||||
testCompileOnly project(':testdata-aspectj')
|
testImplementation(project(':testdata-aspectj'))
|
||||||
testCompileOnly project(':testdata-groovy')
|
testImplementation(project(':testdata-groovy'))
|
||||||
testCompileOnly project(':testdata-java8')
|
// testImplementation(project(':testdata-java8'))
|
||||||
testCompileOnly project(':testdata-plugin')
|
testImplementation(project(':testdata-plugin'))
|
||||||
testCompileOnly project(':testdata-subloader')
|
testImplementation(project(':testdata-subloader'))
|
||||||
testCompileOnly project(':testdata-superloader')
|
testImplementation(project(':testdata-superloader'))
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
|
|||||||
Reference in New Issue
Block a user