aboutsummaryrefslogtreecommitdiffstats
path: root/build.gradle
diff options
context:
space:
mode:
authorJulien Gouesse <[email protected]>2021-09-04 01:12:34 +0200
committerJulien Gouesse <[email protected]>2021-09-04 01:12:34 +0200
commit38752a7146c4fb21ac3e118a7ffc7a8331a731e8 (patch)
tree1ab32a57a217f1a52886502a7352b62ae38c171a /build.gradle
parent0969cd0d3a2612fec19533c14f1d15929b06efd4 (diff)
Fixes gradle clean with Gradle 7.2
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle15
1 files changed, 9 insertions, 6 deletions
diff --git a/build.gradle b/build.gradle
index f7978c2..9316107 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,5 +1,5 @@
allprojects {
- apply plugin: 'maven'
+ apply plugin: 'java-library'
group = 'org.jogamp.ardor3d'
version = '1.0-SNAPSHOT'
@@ -7,8 +7,12 @@ version = '1.0-SNAPSHOT'
subprojects {
apply plugin: 'java'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
+ sourceCompatibility = 16
+ targetCompatibility = 16
+
+ tasks.withType(JavaCompile) {
+ options.encoding = 'UTF-8'
+ }
task packageSources(type: Jar) {
classifier = 'sources'
@@ -28,9 +32,8 @@ artifacts.archives packageSources
configurations.all {
}
dependencies {
- testCompile group: 'junit', name: 'junit', version:'4.10'
- testCompile group: 'org.easymock', name: 'easymockclassextension', version:'2.4'
+ testImplementation group: 'junit', name: 'junit', version:'4.13.2'
+ testImplementation group: 'org.easymock', name: 'easymock', version:'4.3'
}
-
}