Use Java 11 (#398)

This commit is contained in:
vvb2060 2021-03-23 07:10:56 +08:00 committed by GitHub
parent eaf64f91a0
commit 4fcb689e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -26,8 +26,8 @@ buildscript {
maven("https://storage.googleapis.com/r8-releases/raw")
}
dependencies {
classpath("com.android.tools:r8:3.0.27-dev")
classpath("com.android.tools.build:gradle:7.0.0-alpha10")
classpath("com.android.tools:r8:3.0.28-dev")
classpath("com.android.tools.build:gradle:7.0.0-alpha11")
classpath("org.eclipse.jgit:org.eclipse.jgit:5.10.0.202012080955-r")
classpath(kotlin("gradle-plugin", version = "1.4.31"))
}
@ -45,8 +45,8 @@ val androidMinSdkVersion by extra(27)
val androidBuildToolsVersion by extra("30.0.3")
val androidCompileSdkVersion by extra(30)
val androidCompileNdkVersion by extra("22.0.7026061")
val androidSourceCompatibility by extra(JavaVersion.VERSION_1_8)
val androidTargetCompatibility by extra(JavaVersion.VERSION_1_8)
val androidSourceCompatibility by extra(JavaVersion.VERSION_11)
val androidTargetCompatibility by extra(JavaVersion.VERSION_11)
val apiCode by extra(93)
val zipPathMagiskReleasePath by extra(project(":core").projectDir.path + "/build/tmp/release/magisk/")

View File

@ -65,7 +65,7 @@ val verName: String by rootProject.extra
dependencies {
implementation("dev.rikka.ndk:riru:${moduleMinRiruVersionName}")
implementation(files("libs/dobby_prefab.aar"))
implementation("com.android.tools.build:apksig:4.1.2")
implementation("com.android.tools.build:apksig:4.1.3")
compileOnly(project(":hiddenapi-stubs"))
compileOnly("androidx.annotation:annotation:1.1.0")
implementation(project(":interface"))