|
| 1 | +ext { |
| 2 | + latestDepTestMinJavaVersionForTests = JavaVersion.VERSION_17 |
| 3 | + latestDepForkedTestMinJavaVersionForTests = JavaVersion.VERSION_17 |
| 4 | + boot3TestMinJavaVersionForTests = JavaVersion.VERSION_17 |
| 5 | + boot3ForkedTestMinJavaVersionForTests = JavaVersion.VERSION_17 |
| 6 | +} |
| 7 | +muzzle { |
| 8 | + pass { |
| 9 | + group = 'org.springframework.boot' |
| 10 | + module = 'spring-boot' |
| 11 | + versions = "[1.3.0.RELEASE,3)" |
| 12 | + } |
| 13 | + pass { |
| 14 | + group = 'org.springframework.boot' |
| 15 | + module = 'spring-boot' |
| 16 | + versions = "[3,)" |
| 17 | + javaVersion = "17" |
| 18 | + } |
| 19 | +} |
| 20 | + |
| 21 | +apply from: "$rootDir/gradle/java.gradle" |
| 22 | + |
| 23 | +addTestSuiteForDir("boot1LatestDepTest", "test") |
| 24 | +addTestSuiteForDir("boot2Test", "test") |
| 25 | +addTestSuiteForDir("boot2LatestDepTest", "test") |
| 26 | +addTestSuiteForDir("boot3Test", "test") |
| 27 | +addTestSuiteForDir("latestDepTest", "test") |
| 28 | +addTestSuiteExtendingForDir("boot1LatestDepForkedTest", "boot1LatestDepTest", "test") |
| 29 | +addTestSuiteExtendingForDir("boot2ForkedTest", "boot2Test", "test") |
| 30 | +addTestSuiteExtendingForDir("boot2LatestDepForkedTest", "boot2LatestDepTest", "test") |
| 31 | +addTestSuiteExtendingForDir("boot3ForkedTest", "boot3Test", "test") |
| 32 | +addTestSuiteExtendingForDir("latestDepForkedTest", "latestDepTest", "test") |
| 33 | + |
| 34 | +[compileLatestDepTestGroovy, compileBoot3TestGroovy].each { |
| 35 | + it.javaLauncher = getJavaLauncherFor(17) |
| 36 | +} |
| 37 | + |
| 38 | +dependencies { |
| 39 | + compileOnly group: 'org.springframework.boot', name: 'spring-boot', version: '1.3.0.RELEASE' |
| 40 | + testImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '1.3.0.RELEASE' |
| 41 | + boot1LatestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '1.+' |
| 42 | + boot1LatestDepForkedTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '1.+' |
| 43 | + boot2TestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '2.0.0.RELEASE' |
| 44 | + boot2ForkedTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '2.0.0.RELEASE' |
| 45 | + boot2LatestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '1.+' |
| 46 | + boot2LatestDepForkedTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '1.+' |
| 47 | + boot3TestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '3.0.0' |
| 48 | + boot3ForkedTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '3.0.0' |
| 49 | + latestDepTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '+' |
| 50 | + latestDepForkedTestImplementation group: 'org.springframework.boot', name: 'spring-boot', version: '+' |
| 51 | + latestDepTestImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.4.8' // otherwise clashes with RootLogLevelConfigurator |
| 52 | + latestDepForkedTestImplementation group: 'ch.qos.logback', name: 'logback-classic', version: '1.4.8' |
| 53 | +} |
0 commit comments