Skip to content

Commit cba6e81

Browse files
committed
Bumping gradle to 8.12.1
1 parent a3c5171 commit cba6e81

File tree

4 files changed

+23
-26
lines changed

4 files changed

+23
-26
lines changed

AutoComplete/build.gradle

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,30 @@ plugins {
22
id 'java-library'
33
}
44

5-
import static org.gradle.api.JavaVersion.*
5+
['base', 'distribution', 'maven-publish', 'signing'].each { apply plugin: it }
66

7-
['distribution', 'maven-publish', 'signing'].each { apply plugin: it }
8-
9-
archivesBaseName = 'autocomplete'
7+
base {
8+
archivesName = 'autocomplete'
9+
}
1010

1111
dependencies {
12-
api 'com.fifesoft:rsyntaxtextarea:3.5.1'
12+
api 'com.fifesoft:rsyntaxtextarea:3.5.4'
1313
}
1414

1515
ext.isReleaseVersion = !project.version.endsWith('SNAPSHOT')
1616

17-
ext.sharedManifest = manifest {
18-
attributes('Class-Path': 'rsyntaxtextarea.jar',
19-
'Specification-Title': 'AutoComplete',
20-
'Specification-Version': version,
21-
'Implementation-Title': 'org.fife.ui',
22-
'Implementation-Version': version)
23-
24-
}
25-
2617
java {
2718
withSourcesJar()
2819
withJavadocJar()
2920
}
3021
jar {
31-
manifest { from sharedManifest }
22+
manifest {
23+
attributes('Class-Path': 'rsyntaxtextarea.jar',
24+
'Specification-Title': 'AutoComplete',
25+
'Specification-Version': version,
26+
'Implementation-Title': 'org.fife.ui',
27+
'Implementation-Version': version)
28+
}
3229
}
3330

3431
publishing {
@@ -91,7 +88,7 @@ publishing {
9188

9289
signing {
9390
// Don't require signing for e.g. ./gradlew install
94-
required { gradle.taskGraph.hasTask('publish') && isReleaseVersion }
91+
required = gradle.taskGraph.hasTask('publish') && isReleaseVersion
9592
sign publishing.publications.maven
9693
}
9794
tasks.withType(Sign) {

build.gradle

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,27 @@ buildscript {
88
}
99

1010
plugins {
11-
id 'com.github.spotbugs' version '6.0.26'
11+
id 'com.github.spotbugs' version '6.1.3'
1212
}
1313

1414
// We require building with JDK 17 or later. Built artifact compatibility
1515
// is controlled by javaLanguageVersion
1616
assert JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)
1717

18-
group 'com.fifesoft'
18+
group = 'com.fifesoft'
1919
// NOTE: Local Java 17: /Library/Java/JavaVirtualMachines/jdk-17.0.13+11/Contents/Home
2020

2121
allprojects {
2222

2323
repositories {
2424
mavenCentral()
2525
maven {
26-
url 'https://oss.sonatype.org/content/repositories/snapshots'
26+
url = 'https://oss.sonatype.org/content/repositories/snapshots'
2727
}
2828
}
2929

3030
wrapper {
31-
gradleVersion = '8.11.1'
31+
gradleVersion = '8.12.1'
3232
}
3333
}
3434

@@ -47,7 +47,7 @@ subprojects {
4747
}
4848

4949
checkstyle {
50-
toolVersion = '10.20.1'
50+
toolVersion = '10.21.2'
5151
configDirectory = file("$rootProject.projectDir/config/checkstyle")
5252
}
5353

@@ -78,8 +78,9 @@ subprojects {
7878
}
7979

8080
dependencies {
81-
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.11.3'
82-
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.11.3'
81+
testImplementation platform('org.junit:junit-bom:5.11.4')
82+
testImplementation 'org.junit.jupiter:junit-jupiter'
83+
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
8384
}
8485

8586
compileJava {

gradle/wrapper/gradle-wrapper.properties

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-8.11.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)