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

Commit cc963f8

Browse files
committed
Release 0.2.0
1 parent 4515629 commit cc963f8

File tree

4 files changed

+16
-10
lines changed

4 files changed

+16
-10
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ scoping support, especially on Android. _This is the result._
5353

5454
```gradle
5555
dependencies {
56-
implementation "com.afollestad:ulfberht:0.0.1-beta4"
57-
kapt "com.afollestad:ulfbert-processor:0.0.1-beta4"
56+
implementation "com.afollestad:ulfberht:0.2.0"
57+
kapt "com.afollestad:ulfbert-processor:0.2.0"
5858
}
5959
```
6060

RELEASE_NOTES.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
0.1.0 beta4
1+
0.2.0
22

3-
* Runtime dependencies - see the README for an example of when this is needed.
3+
* Fix: The internal `annotations` package needs to be published to Maven as well in order for
4+
Gradle resolution to work.

annotations/build.gradle

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
apply from: "../gradle/javalib-nokapt.gradle"
22

3-
def artifactId = "ulfberht-annotations"
3+
ext.artifactId = "ulfberht-annotations"
4+
apply from: "../bintrayconfig.gradle"
45

56
afterEvaluate {
6-
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
7-
kotlinOptions {
8-
freeCompilerArgs += ['-module-name', artifactId]
7+
if (modulePackageId != null && modulePackageId != '') {
8+
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
9+
kotlinOptions {
10+
freeCompilerArgs += ['-module-name', modulePackageId]
11+
}
912
}
13+
} else {
14+
logger.warn('Skipping setting compiler module name, no package to use.')
1015
}
1116
}
1217

dependencies.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ ext.versions = [
22
minSdk : 19,
33
compileSdk : 29,
44
buildTools : '29.0.0',
5-
publishVersion : '0.1.0-beta4',
6-
publishVersionCode: 5,
5+
publishVersion : '0.2.0',
6+
publishVersionCode: 6,
77

88
gradlePlugin : '3.4.2',
99
spotlessPlugin : '3.23.1',

0 commit comments

Comments
 (0)