Skip to content

Commit

Permalink
Replace deprecated Gradle properties
Browse files Browse the repository at this point in the history
  • Loading branch information
TitusLabs committed Nov 3, 2023
1 parent b3ca63d commit 63af764
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inspectit-ocelot-bootstrap/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ test {
sourceCompatibility = 1.8 // Java version compatibility to use when compiling Java source.
targetCompatibility = 1.8 // Java version to generate classes for.
jar {
archiveName = "${project.name}.jar"
archiveFileName = "${project.name}.jar"

//include all "implementation" dependencies in fat jar
from {
Expand Down
4 changes: 2 additions & 2 deletions inspectit-ocelot-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ task compileJarCheck(type: JavaCompile){
source = sourceSets.main.java.srcDirs
include 'com/mindprod/jarcheck/JarCheck.java'
classpath = sourceSets.main.compileClasspath
destinationDir = new File("${buildDir}/classes/java/main")
destinationDirectory = new File("${buildDir}/classes/java/main")
}

// use jarCheck to make sure all classes in our dependencies are at maximum in version 1.8
Expand Down Expand Up @@ -230,7 +230,7 @@ jar.dependsOn generateVersionFile
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE

archiveName = "${project.name}.jar"
archiveFileName = "${project.name}.jar"

// include version file
from generateVersionFile.versionFile
Expand Down

0 comments on commit 63af764

Please sign in to comment.