diff --git a/build.gradle b/build.gradle index a30b2940..e6c42a3e 100644 --- a/build.gradle +++ b/build.gradle @@ -1,3 +1,5 @@ +import java.nio.charset.StandardCharsets + /** * Copyright 2014 Ryszard Wiśniewski * @@ -15,10 +17,10 @@ */ buildscript { repositories { - jcenter() + mavenCentral() } tasks.withType(JavaCompile) { - options.encoding = "UTF-8" + options.encoding = StandardCharsets.UTF_8.toString() } dependencies { classpath 'com.github.jengelman.gradle.plugins:shadow:6.1.0' @@ -122,11 +124,11 @@ subprojects { baksmali: 'org.smali:baksmali:2.5.2', commons_cli: 'commons-cli:commons-cli:1.4', commons_io: 'commons-io:commons-io:2.4', - commons_lang: 'org.apache.commons:commons-lang3:3.1', - guava: 'com.google.guava:guava:14.0', - junit: 'junit:junit:4.12', + commons_lang: 'org.apache.commons:commons-lang3:3.12.0', + guava: 'com.google.guava:guava:30.1.1-jre', + junit: 'junit:junit:4.13.2', proguard_gradle: 'com.guardsquare:proguard-gradle:7.0.0', - snakeyaml: 'org.yaml:snakeyaml:1.18:android', + snakeyaml: 'org.yaml:snakeyaml:1.28:android', smali: 'org.smali:smali:2.5.2', xmlpull: 'xpp3:xpp3:1.1.4c', xmlunit: 'xmlunit:xmlunit:1.6', @@ -216,7 +218,7 @@ subprojects { withSourcesJar() } - tasks.getByPath(':release').dependsOn(publish); - tasks.getByPath(':snapshot').dependsOn(publish); + tasks.getByPath(':release').dependsOn(publish) + tasks.getByPath(':snapshot').dependsOn(publish) } }