Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tmurakami committed Sep 6, 2019
1 parent cf76568 commit fd89d0b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath 'com.github.ben-manes:gradle-versions-plugin:0.22.0'
classpath 'com.github.ben-manes:gradle-versions-plugin:0.24.0'
classpath 'pl.allegro.tech.build:axion-release-plugin:1.10.2'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6'
}
Expand Down Expand Up @@ -55,7 +55,7 @@ dependencyUpdates.resolutionStrategy {

ext {
deps = [jarjar : 'org.pantsbuild:jarjar:1.7.2',
dexlib2 : 'org.smali:dexlib2:2.3',
dexlib2 : 'org.smali:dexlib2:2.3.1',
junit : 'junit:junit:4.12',
objenesis26: 'org.objenesis:objenesis:2.6',]

Expand Down
5 changes: 1 addition & 4 deletions dexopener/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,7 @@ def repackagedJar = "$buildDir/libs/repackaged.jar"

dependencies {
jarjar deps.jarjar
repackage deps.dexlib2, {
exclude group: 'com.beust', module: 'jcommander'
exclude group: 'com.google.code.findbugs', module: 'jsr305'
}
repackage deps.dexlib2
compileOnly deps.androidx.annotation
implementation files(project(':classloaderhelper').jar)
implementation files(repackagedJar) { builtBy 'repackageDependencies' }
Expand Down
3 changes: 2 additions & 1 deletion dexopener/proguard-rules-repackage.pro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
-dontnote java.lang.invoke.**
-dontnote com.google.common.**

-dontwarn javax.annotation.**
-dontwarn java.lang.ClassValue
-dontwarn javax.lang.model.element.Modifier
-dontwarn sun.misc.Unsafe

-keepattributes Exceptions,InnerClasses,Signature,SourceFile,LineNumberTable,EnclosingMethod
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
4 changes: 2 additions & 2 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi

# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
Expand Down

0 comments on commit fd89d0b

Please sign in to comment.