Skip to content

Commit

Permalink
build: bump gradle 6.9.2 -> 8.2 (#9)
Browse files Browse the repository at this point in the history
* adjust compatibility settings
* classifier got renamed to archiveClassifier
  • Loading branch information
jdrueckert authored Jul 30, 2023
1 parent f5435d6 commit 6fe10f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ group = 'org.terasology'

archivesBaseName = 'splash-screen' // for local jar files

sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.compileJava {
java.sourceCompatibility JavaVersion.VERSION_1_8
java.targetCompatibility JavaVersion.VERSION_1_8
}

// We use both Maven Central and our own Artifactory instance, which contains module builds, extra libs, and so on
repositories {
Expand Down Expand Up @@ -70,13 +72,13 @@ dependencies {
task sourceJar(type: Jar) {
description = "Create a JAR with all sources"
from sourceSets.main.allSource
classifier = 'sources'
archiveClassifier = 'sources'
}

task javadocJar(type: Jar, dependsOn: javadoc) {
description = "Create a JAR with the JavaDoc for the java sources"
from javadoc.destinationDir
classifier = 'javadoc'
archiveClassifier = 'javadoc'
}

// Define the artifacts we want to publish (the .pom will also be included since the Maven plugin is active)
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

0 comments on commit 6fe10f1

Please sign in to comment.