Skip to content

Commit

Permalink
Gradle 8.0-rc-1
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Jan 4, 2023
1 parent df7387d commit 80e3988
Show file tree
Hide file tree
Showing 9 changed files with 52 additions and 144 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/nebula.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ jobs:
- ${{ runner.os }}-gradlewrapper-
- name: Gradle build
run: ./gradlew --info --stacktrace build --scan
- name: Post-success actions
if: success()
run: ./gradlew jacocoTestReport coveralls
env:
CI_NAME: github_actions
CI_BUILD_NUMBER: ${{ github.sha }}
CI_BUILD_URL: 'https://github.com/${{ github.repository }}'
CI_BRANCH: ${{ github.ref }}
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish:
if: startsWith(github.ref, 'refs/tags/v')
needs: validation
Expand Down
13 changes: 9 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*/

plugins {
id 'com.netflix.nebula.plugin-plugin' version '20.0.0'
id "org.jetbrains.kotlin.jvm" version "1.6.21"
id 'com.netflix.nebula.plugin-plugin' version '20.2.2'
id "org.jetbrains.kotlin.jvm" version "1.8.0"
id 'java-gradle-plugin'
}

Expand Down Expand Up @@ -65,8 +65,9 @@ gradlePlugin {
}

java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}

idea {
Expand All @@ -80,3 +81,7 @@ idea {
tasks.withType(GenerateModuleMetadata).configureEach {
suppressedValidationErrors.add('enforced-platform')
}

javaCrossCompile {
disableKotlinSupport = true
}
16 changes: 6 additions & 10 deletions gradle.lockfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ com.fasterxml.jackson.core:jackson-databind:2.9.10.8=compileClasspath,integTestC
com.fasterxml.jackson.module:jackson-module-kotlin:2.9.10=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson:jackson-bom:2.9.10.20210106=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
com.google.guava:guava:20.0=integTestRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
com.netflix.nebula:gradle-dependency-lock-plugin:13.0.0=integTestRuntimeClasspath,testRuntimeClasspath
com.netflix.nebula:gradle-dependency-lock-plugin:13.1.0=integTestRuntimeClasspath,testRuntimeClasspath
com.netflix.nebula:gradle-scm-plugin:7.0.0=integTestRuntimeClasspath,testRuntimeClasspath
com.netflix.nebula:nebula-dependencies-comparison:0.2.1=integTestRuntimeClasspath,testRuntimeClasspath
com.netflix.nebula:nebula-dependency-recommender:12.0.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand All @@ -31,15 +31,11 @@ org.codehaus.plexus:plexus-utils:3.3.0=integTestRuntimeClasspath,runtimeClasspat
org.eclipse.sisu:org.eclipse.sisu.inject:0.3.5=integTestRuntimeClasspath,runtimeClasspath,testRuntimeClasspath
org.hamcrest:hamcrest-core:1.3=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.hamcrest:hamcrest:2.2=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-reflect:1.6.21=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-common:1.6.21=compileClasspath,integTestCompileClasspath,runtimeClasspath,testCompileClasspath
org.jetbrains.kotlin:kotlin-stdlib-common:1.7.20=integTestRuntimeClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.6.21=compileClasspath,integTestCompileClasspath,runtimeClasspath,testCompileClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.7.20=integTestRuntimeClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.21=compileClasspath,integTestCompileClasspath,runtimeClasspath,testCompileClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20=integTestRuntimeClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib:1.6.21=compileClasspath,integTestCompileClasspath,runtimeClasspath,testCompileClasspath
org.jetbrains.kotlin:kotlin-stdlib:1.7.20=integTestRuntimeClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-reflect:1.8.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-common:1.8.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains.kotlin:kotlin-stdlib:1.8.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.jetbrains:annotations:13.0=compileClasspath,integTestCompileClasspath,integTestRuntimeClasspath,runtimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-commons:1.8.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-engine:1.8.1=integTestCompileClasspath,integTestRuntimeClasspath,testCompileClasspath,testRuntimeClasspath
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-rc-1-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class AbstractRulesWithSpringBootPluginSpec extends IntegrationTestKitSpec {
return [
'dependencyInsight',
'--dependency',
groupForInsight
groupForInsight, '-s'
]
}

Expand Down Expand Up @@ -79,7 +79,7 @@ class AbstractRulesWithSpringBootPluginSpec extends IntegrationTestKitSpec {
buildscript {
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:$extSpringBootVersion")
classpath "io.spring.gradle:dependency-management-plugin:1.0.7.RELEASE"
classpath "io.spring.gradle:dependency-management-plugin:1.1.0"
}
repositories {
maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ''
forcedVersion = ''
Expand Down Expand Up @@ -66,8 +66,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = ''
Expand Down Expand Up @@ -96,9 +96,9 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab
output.findAll("org.springframework.*:${managedSpringVersion}\n").size() == 0

where:
extSpringVersion = '5.1.8.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringVersion = '5.3.24'
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = ''
Expand Down Expand Up @@ -126,8 +126,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ''
forcedVersion = '4.2.9.RELEASE'
Expand Down Expand Up @@ -158,8 +158,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = '4.2.9.RELEASE'
Expand Down Expand Up @@ -191,8 +191,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = extSpringVersion
Expand Down Expand Up @@ -222,10 +222,9 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom

managedSlf4jVersion = '1.7.36' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom
requestedVersion = ''
forcedVersion = ''
}
Expand Down Expand Up @@ -254,10 +253,9 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom

managedSlf4jVersion = '1.7.36' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom
requestedVersion = ':\$slf4jVersion'
forcedVersion = ''
}
Expand Down Expand Up @@ -286,9 +284,9 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
managedSlf4jVersion = '1.7.36' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ''
forcedVersion = '1.7.10'
Expand Down Expand Up @@ -318,7 +316,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom

Expand Down Expand Up @@ -350,7 +348,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.8.0-beta4'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom

Expand Down Expand Up @@ -382,7 +380,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginAndManagedDepsSpec extends Ab

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'
managedSlf4jVersion = '1.7.26' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = ''
Expand Down Expand Up @@ -73,9 +73,9 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend
dependencyInsightContains(output, 'org.springframework:spring-core', extSpringVersion)

where:
extSpringVersion = '5.1.8.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
managedSpringVersion = '5.1.6.RELEASE' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/2.1.4.RELEASE/spring-boot-dependencies-2.1.4.RELEASE.pom
extSpringVersion = '5.3.24'
extSpringBootVersion = '2.7.0'
managedSpringVersion = '5.3.20' // from https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-dependencies/5.3.20/spring-boot-dependencies-5.3.20.pom

requestedVersion = ':\${springVersion}'
forcedVersion = '' }
Expand Down Expand Up @@ -107,7 +107,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'

requestedVersion = ':\${springVersion}'
forcedVersion = '4.2.4.RELEASE'
Expand Down Expand Up @@ -136,7 +136,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'

requestedVersion = ':\$slf4jVersion'
Expand Down Expand Up @@ -166,7 +166,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'

requestedVersion = ''
Expand Down Expand Up @@ -196,7 +196,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'

requestedVersion = ':\$slf4jVersion'
Expand Down Expand Up @@ -226,7 +226,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.8.0-beta4'

requestedVersion = ':\$slf4jVersion'
Expand Down Expand Up @@ -256,7 +256,7 @@ class AlignAndSubstituteRulesWithSpringBoot2xPluginWithoutManagedDepsSpec extend

where:
extSpringVersion = '4.2.4.RELEASE'
extSpringBootVersion = '2.1.4.RELEASE'
extSpringBootVersion = '2.7.0'
extSlf4jVersion = '1.6.0'

requestedVersion = ':\$slf4jVersion'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AlignRulesForceSpec extends AbstractAlignRulesSpec {
""".stripIndent()

when:
def tasks = ['dependencies', '--configuration', 'compileClasspath', '--warning-mode', 'none']
def tasks = ['dependencies', '--configuration', 'compileClasspath', '--warning-mode', 'none', '-s']
def result = runTasks(*tasks)


Expand All @@ -66,7 +66,6 @@ class AlignRulesForceSpec extends AbstractAlignRulesSpec {
name | force
"all" | "configurations.all { resolutionStrategy { force 'test.nebula:a:0.15.0' } }"
"configuration" | "configurations.compileClasspath { resolutionStrategy { force 'test.nebula:a:0.15.0' } }"
"dependency" | "dependencies { implementation ('test.nebula:a:0.15.0') { force = true } }"
}

@Unroll
Expand Down

0 comments on commit 80e3988

Please sign in to comment.