Skip to content
This repository was archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Release 2.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
afollestad committed Jun 27, 2019
1 parent 60e5031 commit 7321131
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Add this to your module's `build.gradle` file:
```gradle
dependencies {
implementation 'com.afollestad:assent:2.3.0'
implementation 'com.afollestad:assent:2.3.1'
}
```

Expand Down
6 changes: 2 additions & 4 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
2.3.0
2.3.1

* Rationale support! See the README.
* Bug fixes, of course.
* Dependency upgrades.
* Set module names for the Kotlin compiler so they don't clash with other third party deps.
7 changes: 6 additions & 1 deletion bintrayconfig.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Set default
ext.modulePackageId = ""

if (!project.rootProject.file('local.properties').exists()) {
println "Not applying install.gradle"
return
Expand Down Expand Up @@ -42,4 +45,6 @@ publish {
desc = 'Android permission requests made easy and compact.'
website = 'https://github.com/afollestad/assent'
dryRun = false
}
}

ext.modulePackageId = publish.groupId + '.' + publish.artifactId
4 changes: 2 additions & 2 deletions dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ ext.versions = [
minSdk : 14,
compileSdk : 29,
buildTools : '29.0.0',
publishVersion : '2.3.0',
publishVersionCode : 19,
publishVersion : '2.3.1',
publishVersionCode : 20,

gradlePlugin : '3.4.1',
spotlessPlugin : '3.23.1',
Expand Down
9 changes: 9 additions & 0 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ android {
compileSdkVersion versions.compileSdk
buildToolsVersion versions.buildTools

compileOptions {
if (modulePackageId != null && modulePackageId != '') {
logger.warn('Package for current module: ' + modulePackageId)
kotlinOptions.freeCompilerArgs += ['-module-name', modulePackageId]
} else {
logger.warn('Skipping setting compiler module name, no package to use.')
}
}

defaultConfig {
minSdkVersion versions.minSdk
targetSdkVersion versions.compileSdk
Expand Down

0 comments on commit 7321131

Please sign in to comment.