changeset 546:54dacb011114

Can gradle6.0.1 build
author e165729 <e165729@ie.u-ryukyu.ac.jp>
date Mon, 16 Dec 2019 15:48:40 +0900
parents 0a6db7da38e8
children 6b6e022e48d4
files build.gradle
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Thu Nov 28 14:50:56 2019 +0900
+++ b/build.gradle	Mon Dec 16 15:48:40 2019 +0900
@@ -1,14 +1,16 @@
 plugins {
-  id "edu.sc.seis.macAppBundle" version "2.1.7"
+    //id "edu.sc.seis.macAppBundle" version "2.1.7"
+    id "edu.sc.seis.macAppBundle" version "2.3.0"
 }
 
 apply plugin:'java'
 apply plugin: 'eclipse'
 apply plugin: 'application'
+apply plugin: "edu.sc.seis.macAppBundle"
 
 
-sourceCompatibility = 1.11
-targetCompatibility = 1.11
+sourceCompatibility = JavaVersion.VERSION_12
+targetCompatibility = JavaVersion.VERSION_12
 version = '2.7.2'
 
 project.ext.baseName = 'tightvnc-jviewer'
@@ -149,3 +151,11 @@
 // set mainclass to Application Plugin
 mainClassName = 'com.glavsoft.viewer.TreeViewer'
 applicationName = 'TreeVNC'
+
+allprojects {
+    gradle.projectsEvaluated {
+        tasks.withType(JavaCompile) {
+            options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
+        }
+    }
+}
\ No newline at end of file