Skip to content

Commit

Permalink
Ignore "androidx" package automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
cpdroid committed Aug 13, 2019
1 parent 19fe79b commit 4be5bdb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.cpdroid:fat-aar:1.0.1'
classpath 'com.cpdroid:fat-aar:1.0.2'
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.cpdroid:fat-aar:1.0.1'
classpath 'com.cpdroid:fat-aar:1.0.2'
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ apply plugin: 'java'
apply plugin: 'groovy'

ext {
versionId = '1.0.1'
versionId = '1.0.2'
groupId = 'com.cpdroid'
name = 'fat-aar'
website = 'https://github.com/cpdroid/fat-aar'
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/com/cpdroid/fat_aar/FatAarPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ class FatAarPlugin implements Plugin<Project> {
String pkgName = new XmlParser().parse("$destination/AndroidManifest.xml").@package

//Ignore android support package
if (pkgName.startsWith("android.")) {
if (pkgName.startsWith("android.") || pkgName.startsWith("androidx.")) {
logLevel2("Ignore android package: [$pkgName]")
return
}
Expand Down

0 comments on commit 4be5bdb

Please sign in to comment.