Skip to content

Commit

Permalink
Bumping gradle version. bnd and spotbugs plugins still trigger deprec…
Browse files Browse the repository at this point in the history
…ation warnings we cannot yet resolve
  • Loading branch information
bobbylight committed Jul 30, 2023
1 parent 1c7374c commit eaf7815
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
28 changes: 14 additions & 14 deletions RSyntaxTextArea/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import static org.gradle.api.JavaVersion.*

['jacoco', 'biz.aQute.bnd.builder', 'distribution', 'maven-publish', 'signing'].each { apply plugin: it }
['base', 'jacoco', 'biz.aQute.bnd.builder', 'distribution', 'maven-publish', 'signing'].each { apply plugin: it }

// We require building with JDK 8 or later. We turn off doclint since our
// generated *TokenMakers have horrible documentation (see https://github.com/jflex-de/jflex/issues/182)
Expand All @@ -11,7 +11,9 @@ allprojects {
}
}

archivesBaseName = 'rsyntaxtextarea'
base {
archivesName = 'rsyntaxtextarea'
}
ext.isReleaseVersion = !project.version.endsWith('SNAPSHOT')

jacocoTestReport {
Expand All @@ -21,23 +23,21 @@ jacocoTestReport {
}
}

ext.sharedManifest = manifest {
attributes('Specification-Title': 'RSyntaxTextArea',
'Automatic-Module-Name': 'org.fife.RSyntaxTextArea', // jdk 9+ module name
'Specification-Version': version,
'Implementation-Title': 'org.fife.ui',
'Implementation-Version': version,
'Bundle-License': 'BSD-3-Clause',
// Not sure why Require-Capability is not being added by the osgi plugin...
'Require-Capability': 'osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=' + javaVersion + '))"')
}

java {
withSourcesJar()
withJavadocJar()
}
jar {
manifest { from sharedManifest }
manifest {
attributes('Specification-Title': 'RSyntaxTextArea',
'Automatic-Module-Name': 'org.fife.RSyntaxTextArea', // jdk 9+ module name
'Specification-Version': version,
'Implementation-Title': 'org.fife.ui',
'Implementation-Version': version,
'Bundle-License': 'BSD-3-Clause',
// Not sure why Require-Capability is not being added by the osgi plugin...
'Require-Capability': 'osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=' + javaVersion + '))"')
}
}
test {
testLogging {
Expand Down
6 changes: 5 additions & 1 deletion RSyntaxTextAreaDemo/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
plugins {
id 'application'
id 'base'
}

base {
archivesName = 'rstademo'
}

archivesBaseName = 'rstademo'

dependencies {
implementation project(':RSyntaxTextArea')
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
}

wrapper {
gradleVersion = '8.2'
gradleVersion = '8.2.1'
}
}

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-8.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit eaf7815

Please sign in to comment.