diff --git a/templates/android/template/app/build.gradle b/templates/android/template/app/build.gradle index 704bbca33..998bfff79 100644 --- a/templates/android/template/app/build.gradle +++ b/templates/android/template/app/build.gradle @@ -1,12 +1,17 @@ import groovy.swing.SwingBuilder -import java.awt.GridBagLayout; -import java.awt.GridBagConstraints; -import javax.swing.border.EmptyBorder; +import java.awt.GridBagLayout +import java.awt.GridBagConstraints +import javax.swing.border.EmptyBorder apply plugin: 'com.android.application' System.setProperty('java.awt.headless','false') +//Uncomment to debug deprecation warnings. +/* tasks.withType(JavaCompile) { + options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" +} */ + android { compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION) buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION