Skip to content

Commit

Permalink
Update readme and bump version to 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
G00fY2 committed Jun 10, 2020
1 parent 95d742d commit 8d1ef72
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'eu.nanogiants:android-versioning:2.1.2'
classpath 'eu.nanogiants:android-versioning:2.2.0'
}
}
```
Expand Down Expand Up @@ -45,24 +45,27 @@ Build Variant `productionStoreDebug`
```groovy
android {
defaultConfig {
archivesBaseName = "MyAppName"
archivesBaseName = "myAppName"
}
}
```
Artifacts:
```
MyAppName-production-store-3.9.0-3272-debug.apk
MyAppName-production-store-3.9.0-3272-debug.aab
myAppName-production-store-3.9.0-3272-debug.apk
myAppName-production-store-3.9.0-3272-debug.aab
myAppName-production-store-3.9.0-3272-mapping.txt
```
#### Note:
Since Android Studio does not know about the artifact renaming, the `locate` or `analyze` links in the event log and notifications will stop working. To compensate that, the plugin prints file URI for every renamed artifact.
Because Android Studio does not know about the AAB renaming, the `locate` or `analyze` links in the event log and notifications will only work for APK files by default. You can set `keepOriginalArtifacts` to keep the original files. The plugin also prints the file URI for renamed artifacts.

#### Optional:
You can define a comma separated list of buildTypes (e.g. debug) to be excluded from the artifact naming.
* `excludeBuildTypes`: comma separated list of buildTypes (e.g. debug) to be excluded from the artifact naming
* `keepOriginalArtifacts`: copy artifact files instead of renaming them
```groovy
// app build.gradle
versioning {
excludeBuildTypes = "debug" {
excludeBuildTypes = "debug" // default: null
keepOriginalArtifacts = true // default: false
}
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "eu.nanogiants"
version = "2.1.2"
version = "2.2.0"

repositories {
google()
Expand Down

0 comments on commit 8d1ef72

Please sign in to comment.