File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
src/main/groovy/cn/hx/plugin/junkcode/plugin Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ buildscript {
11
11
classpath " org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version "
12
12
classpath " com.getkeepsafe.dexcount:dexcount-gradle-plugin:3.0.1"
13
13
if (PLUGIN_ENABLE . toBoolean()) {
14
- classpath " com.github.qq549631030:android-junk-code:1.1.7 "
14
+ classpath " com.github.qq549631030:android-junk-code:1.1.9 "
15
15
}
16
16
// NOTE: Do not place your application dependencies here; they belong
17
17
// in the individual module build.gradle files
Original file line number Diff line number Diff line change 1
1
# project
2
2
GROUP =com.github.qq549631030
3
- VERSION_NAME =1.1.7
3
+ VERSION_NAME =1.1.9
4
4
5
5
POM_ARTIFACT_ID =android-junk-code
6
6
POM_NAME =AndroidJunkCode
Original file line number Diff line number Diff line change @@ -49,6 +49,12 @@ class AndroidJunkCodePlugin implements Plugin<Project> {
49
49
def sourceSet = variant. sourceSets[i]
50
50
if (! sourceSet. manifestFile. exists()) {
51
51
sourceSet. manifest. srcFile(manifestFile)
52
+ def processManifestTaskProvider = project. tasks. named(" process${ variantName.capitalize()} MainManifest" )
53
+ if (processManifestTaskProvider) {
54
+ processManifestTaskProvider. configure {
55
+ it. dependsOn(generateJunkCodeTask)
56
+ }
57
+ }
52
58
break
53
59
}
54
60
}
You can’t perform that action at this time.
0 commit comments