# HG changeset patch # User e165729 # Date 1576478920 -32400 # Node ID 54dacb011114631faba1fd0e57448f3075bdc2e4 # Parent 0a6db7da38e827c801ad6ca42d3909a420934768 Can gradle6.0.1 build diff -r 0a6db7da38e8 -r 54dacb011114 build.gradle --- 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