Skip to content

Commit

Permalink
[Issue #129] Use kotlinOptions instead of freeCompilerArgs to avoid w…
Browse files Browse the repository at this point in the history
…arnings (#134)

* [Issue #129] Use kotlinOptions instead of freeCompilerArgs to avoid warnings

* Update access

Co-authored-by: Alexander Ivanov (KODE) <iv@appkode.ru>
Co-authored-by: Zac Sweers <pandanomic@gmail.com>
  • Loading branch information
3 people committed Jul 17, 2021
1 parent 2e3a192 commit bf2beb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Expand Up @@ -11,12 +11,12 @@ _2021-07-15_
* Update to Dokka `1.5.0`.
* Update to KotlinPoet `1.9.0`.
* Test against JDK 17 early access previews.
* **New:** `moshi-ksp` and moshi-sealed's codegen both support a new `moshi.generateProguardRules` option. This can be
* **New:** `moshi-ksp` and moshi-sealed's codegen both support a new `moshi.generateProguardRules` option. This can be
set to `false` to disable proguard rule generation.
* **Fix:** Artifacts now ship with a `-module-name` attribute set to their artifact ID to help avoid module name
* **Fix:** Artifacts now ship with a `-module-name` attribute set to their artifact ID to help avoid module name
collisions.
Thanks to [@SeongUgJung](https://github.com/SeongUgJung) and [@slmlt](https://github.com/slmlt) for contributing to this

Thanks to [@SeongUgJung](https://github.com/SeongUgJung) and [@slmlt](https://github.com/slmlt) for contributing to this
release!

Version 0.11.2
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Expand Up @@ -166,7 +166,7 @@ subprojects {
tasks.withType<KotlinCompile> {
kotlinOptions {
if (project.hasProperty("POM_ARTIFACT_ID")) {
freeCompilerArgs = listOf("-module-name", project.property("POM_ARTIFACT_ID") as String)
moduleName = project.property("POM_ARTIFACT_ID") as String
}
}
}
Expand Down

0 comments on commit bf2beb3

Please sign in to comment.