Skip to content
This repository has been archived by the owner on Jul 19, 2018. It is now read-only.

Commit

Permalink
Use stable build tools + retrolambda
Browse files Browse the repository at this point in the history
  • Loading branch information
topjohnwu committed Apr 26, 2017
1 parent b8ed23e commit 907e01e
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
12 changes: 9 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'

android {
compileSdkVersion 25
buildToolsVersion "26.0.0-rc1"
buildToolsVersion "25.0.3"

defaultConfig {
applicationId "com.topjohnwu.magisk"
minSdkVersion 21
targetSdkVersion 25
versionCode 30
versionName "4.3.2"
versionCode 31
versionName "4.3.3"
ndk {
moduleName 'zipadjust'
abiFilters 'x86', 'x86_64', 'armeabi-v7a', 'arm64-v8a'
Expand Down Expand Up @@ -37,6 +38,11 @@ android {
lintOptions {
disable 'MissingTranslation'
}
retrolambda {
javaVersion JavaVersion.VERSION_1_7
defaultMethods false
incremental true
}
}
repositories {
jcenter()
Expand Down
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
-keep class org.spongycastle.** { *; }
-dontwarn javax.naming.**

# retrolambda
-dontwarn java.lang.invoke.*

3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.4.0-alpha6'
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'me.tatarka:gradle-retrolambda:3.6.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

0 comments on commit 907e01e

Please sign in to comment.