Skip to content

Commit fd9e3e1

Browse files
committed
Gradle 8.0-rc-1
1 parent fb2c262 commit fd9e3e1

File tree

6 files changed

+10
-32
lines changed

6 files changed

+10
-32
lines changed

.github/workflows/nebula.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,6 @@ jobs:
5151
- ${{ runner.os }}-gradlewrapper-
5252
- name: Gradle build
5353
run: ./gradlew --stacktrace build --scan
54-
- name: Post-success actions
55-
if: success()
56-
run: ./gradlew jacocoTestReport coveralls
57-
env:
58-
CI_NAME: github_actions
59-
CI_BUILD_NUMBER: ${{ github.sha }}
60-
CI_BUILD_URL: 'https://github.com/${{ github.repository }}'
61-
CI_BRANCH: ${{ github.ref }}
62-
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6354
publish:
6455
if: startsWith(github.ref, 'refs/tags/v')
6556
needs: validation

build.gradle

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
import org.gradle.util.GradleVersion
1717

1818
plugins {
19-
id 'com.netflix.nebula.plugin-plugin' version '20.0.0'
20-
id 'com.netflix.nebula.optional-base' version '8.0.0'
19+
id 'com.netflix.nebula.plugin-plugin' version '20.2.0'
20+
id 'com.netflix.nebula.optional-base' version '9.0.0'
2121
id "org.jetbrains.kotlin.jvm" version "1.7.20"
2222
id 'java-gradle-plugin'
23-
id "org.gradle.test-retry" version "1.4.1"
23+
id "org.gradle.test-retry" version "1.5.0"
2424
}
2525

2626
description 'Gradle plugin to allow locking of dynamic dependency versions'
@@ -97,6 +97,8 @@ if (GradleVersion.version(project.gradle.gradleVersion) >= (GradleVersion.versio
9797
classes.dependsOn compileKotlin
9898
}
9999

100+
test.dependsOn jar
101+
100102
tasks.withType(Test) {
101103
testLogging {
102104
events "PASSED", "FAILED", "SKIPPED"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-rc-1-bin.zip
44
networkTimeout=10000
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

src/test/groovy/nebula/plugin/dependencylock/AbstractDependencyLockPluginSpec.groovy

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,13 @@ class AbstractDependencyLockPluginSpec extends IntegrationTestKitSpec {
2121
def mavenrepo
2222
def projectName
2323

24-
//to avoid enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT') has been deprecated
25-
@Rule
26-
public final ProvideSystemProperty provideSystemProperty = new ProvideSystemProperty("ignoreDeprecations", "true")
27-
28-
2924
def setup() {
3025
keepFiles = true
3126
new File("${projectDir}/gradle.properties").text = "systemProp.nebula.features.coreLockingSupport=true"
3227

3328
projectName = getProjectDir().getName().replaceAll(/_\d+/, '')
3429
settingsFile << """\
3530
rootProject.name = '${projectName}'
36-
37-
enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
3831
""".stripIndent()
3932

4033
def graph = new DependencyGraphBuilder()

src/test/groovy/nebula/plugin/dependencylock/DependencyLockPluginWithCoreSpec.groovy

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
9494
plugins {
9595
id 'com.netflix.nebula.dependency-lock'
9696
id 'java'
97-
id 'com.github.johnrengelman.shadow' version '5.0.0'
97+
id 'com.github.johnrengelman.shadow' version '7.1.0'
9898
}
9999
repositories {
100100
${mavenrepo.mavenRepositoryBlock}
@@ -166,7 +166,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
166166
plugins {
167167
id 'com.netflix.nebula.dependency-lock'
168168
id 'java'
169-
id 'com.github.johnrengelman.shadow' version '5.0.0'
169+
id 'com.github.johnrengelman.shadow' version '7.1.0'
170170
}
171171
repositories {
172172
${mavenrepo.mavenRepositoryBlock}
@@ -371,7 +371,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
371371
buildFile << """\
372372
plugins {
373373
id 'com.netflix.nebula.dependency-lock'
374-
id 'nebula.kotlin' version '1.3.41'
374+
id "org.jetbrains.kotlin.jvm" version "1.8.0"
375375
}
376376
repositories {
377377
${mavenrepo.mavenRepositoryBlock}
@@ -436,7 +436,7 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
436436
addSubproject("sub1", """
437437
plugins {
438438
id 'com.netflix.nebula.dependency-lock'
439-
id 'nebula.kotlin' version '1.3.41'
439+
id "org.jetbrains.kotlin.jvm" version "1.8.0"
440440
}
441441
dependencies {
442442
$configuration 'test.nebula:a:1.+'
@@ -560,7 +560,6 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
560560
repositories { maven { url "https://plugins.gradle.org/m2/" } }
561561
dependencies {
562562
classpath "com.netflix.nebula:nebula-clojure-plugin:9.4.3"
563-
classpath "com.netflix.nebula:nebula-kotlin-plugin:1.3.40"
564563
}
565564
}
566565
$plugins
@@ -608,14 +607,12 @@ class DependencyLockPluginWithCoreSpec extends AbstractDependencyLockPluginSpec
608607
'java' | true | 'applied first'
609608
'java-library' | true | 'applied first'
610609
'nebula.clojure' | true | 'applied first'
611-
'nebula.kotlin' | true | 'applied first'
612610
'scala' | true | 'applied first'
613611

614612
'groovy' | false | 'applied last'
615613
'java' | false | 'applied last'
616614
'java-library' | false | 'applied last'
617615
'nebula.clojure' | false | 'applied last'
618-
'nebula.kotlin' | false | 'applied last'
619616
'scala' | false | 'applied last'
620617
}
621618

src/test/groovy/nebula/plugin/dependencylock/caching/AbstractCachingAndDependencyLockingFeatureFlagsSpec.groovy

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ class AbstractCachingAndDependencyLockingFeatureFlagsSpec extends IntegrationTes
4141
File repo
4242
String uniqueId
4343

44-
//to avoid enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT') has been deprecated
45-
@Rule
46-
public final ProvideSystemProperty provideSystemProperty = new ProvideSystemProperty("ignoreDeprecations", "true")
4744

4845
def setupSpec() {
4946
if (wireMockServer != null && wireMockServer.isRunning()) {
@@ -69,8 +66,6 @@ class AbstractCachingAndDependencyLockingFeatureFlagsSpec extends IntegrationTes
6966
projectName = getProjectDir().getName().replaceAll(/_\d+/, '')
7067
settingsFile << """\
7168
rootProject.name = '${projectName}'
72-
73-
enableFeaturePreview('ONE_LOCKFILE_PER_PROJECT')
7469
""".stripIndent()
7570

7671
serverUrl = wireMockServer.url('/').toString()

0 commit comments

Comments
 (0)