Fix compile error

This commit is contained in:
solohsu 2019-04-20 14:31:47 +08:00
parent 55ad3f5d7a
commit a48229960f
5 changed files with 6 additions and 13 deletions

View File

@ -20,7 +20,7 @@ android {
}
dependencies {
compileOnly files("${hiddenApiStubJarFilePath}")
compileOnly project(':hiddenapi-stubs')
implementation project(':xposed-bridge')
compileOnly project(':dexmaker')
}

View File

@ -1,2 +1 @@
/build
/libs

View File

@ -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.

View File

@ -39,7 +39,7 @@ preBuild.doLast {
}
dependencies {
compileOnly files("${hiddenApiStubJarFilePath}")
compileOnly project(':hiddenapi-stubs')
compileOnly project(':dexmaker')
}