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