Skip to content

Commit fb7b9df

Browse files
committed
Upgrade Gradle and Publishing Plugin
1 parent 261198a commit fb7b9df

File tree

4 files changed

+10
-8
lines changed

4 files changed

+10
-8
lines changed

build.gradle.kts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
plugins {
2-
id("java-gradle-plugin")
3-
id("maven-publish")
2+
id("com.gradle.plugin-publish") version "1.0.0-rc-2"
43
id("groovy")
5-
id("com.gradle.plugin-publish") version "0.20.0"
6-
}
7-
8-
repositories {
9-
mavenCentral()
104
}
115

126
group = "de.jjohannes.gradle"
@@ -44,6 +38,7 @@ tasks.test {
4438
description = "Runs tests against the Gradle version the plugin is built with"
4539
classpath = sourceSets.test.get().runtimeClasspath
4640
useJUnitPlatform()
41+
maxParallelForks = 4
4742
}
4843

4944
listOf("6.4.1", "6.9.2", "7.0.2").forEach { gradleVersionUnderTest ->
@@ -53,6 +48,7 @@ listOf("6.4.1", "6.9.2", "7.0.2").forEach { gradleVersionUnderTest ->
5348
testClassesDirs = sourceSets.test.get().output.classesDirs
5449
classpath = sourceSets.test.get().runtimeClasspath
5550
useJUnitPlatform()
51+
maxParallelForks = 4
5652
systemProperty("gradleVersionUnderTest", gradleVersionUnderTest)
5753
}
5854
tasks.check {

gradle.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
org.gradle.caching=true
2+
org.gradle.parallel=true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-rc-1-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

settings.gradle.kts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ plugins {
44

55
rootProject.name = "extra-java-module-info"
66

7+
dependencyResolutionManagement {
8+
repositories.mavenCentral()
9+
}
10+
711
gradleEnterprise {
812
buildScan {
913
publishAlways()

0 commit comments

Comments
 (0)