From 659fa810933baaab3a2aaa2c8d2b527e7cb25537 Mon Sep 17 00:00:00 2001 From: davydotcom Date: Wed, 31 Mar 2021 21:10:10 -0400 Subject: [PATCH] fixing springloaded build to work as non java 1.8 minimum for now until asm fixes are done --- build.gradle | 4 ++-- springloaded/build.gradle | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/build.gradle b/build.gradle index 35be3bd..f606d81 100644 --- a/build.gradle +++ b/build.gradle @@ -17,8 +17,8 @@ subprojects { apply plugin: 'eclipse' apply from: "$rootDir/gradle/publish-maven.gradle" - sourceCompatibility = 1.8 - targetCompatibility = 1.8 + sourceCompatibility = 1.6 + targetCompatibility = 1.6 } configure(subprojects.findAll { it.name.startsWith('testdata')}) { diff --git a/springloaded/build.gradle b/springloaded/build.gradle index fdeddb1..3234330 100644 --- a/springloaded/build.gradle +++ b/springloaded/build.gradle @@ -3,8 +3,8 @@ apply plugin: 'maven' group = "org.springframework" jar.baseName = 'springloaded' -sourceCompatibility = 1.8 -targetCompatibility = 1.8 +sourceCompatibility = 1.6 +targetCompatibility = 1.6 task writeNewPom { doLast { @@ -47,16 +47,16 @@ dependencies { compile 'org.ow2.asm:asm: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") - testCompileOnly project(':testdata') - testCompileOnly project(':testdata-aspectj') - testCompileOnly project(':testdata-groovy') - testCompileOnly project(':testdata-java8') - testCompileOnly project(':testdata-plugin') - testCompileOnly project(':testdata-subloader') - testCompileOnly project(':testdata-superloader') + testImplementation files("../testdata-groovy/groovy-all-1.8.6.jar") + testImplementation(project(':testdata')) + testImplementation(project(':testdata-aspectj')) + testImplementation(project(':testdata-groovy')) + // testImplementation(project(':testdata-java8')) + testImplementation(project(':testdata-plugin')) + testImplementation(project(':testdata-subloader')) + testImplementation(project(':testdata-superloader')) } sourceSets {