Fix compile error
This commit is contained in:
parent
55ad3f5d7a
commit
a48229960f
|
|
@ -20,7 +20,7 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly files("${hiddenApiStubJarFilePath}")
|
compileOnly project(':hiddenapi-stubs')
|
||||||
implementation project(':xposed-bridge')
|
implementation project(':xposed-bridge')
|
||||||
compileOnly project(':dexmaker')
|
compileOnly project(':dexmaker')
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1 @@
|
||||||
/build
|
/build
|
||||||
/libs
|
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,6 @@ apply plugin: 'com.android.library'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 28
|
compileSdkVersion 28
|
||||||
// Only build the release variant
|
|
||||||
variantFilter { variant ->
|
|
||||||
if (variant.buildType.name != BuilderConstants.RELEASE) {
|
|
||||||
variant.ignore = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task makeStubJar(type: Jar){
|
task makeStubJar(type: Jar){
|
||||||
|
|
@ -21,8 +15,8 @@ task makeStubJar(type: Jar){
|
||||||
exclude{ it.name.startsWith('R$')}
|
exclude{ it.name.startsWith('R$')}
|
||||||
}
|
}
|
||||||
|
|
||||||
makeStubJar.dependsOn(build)
|
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
makeStubJar
|
tasks.withType(JavaCompile) {
|
||||||
|
it.finalizedBy(makeStubJar)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Binary file not shown.
|
|
@ -39,7 +39,7 @@ preBuild.doLast {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly files("${hiddenApiStubJarFilePath}")
|
compileOnly project(':hiddenapi-stubs')
|
||||||
compileOnly project(':dexmaker')
|
compileOnly project(':dexmaker')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue