Skip to content

Commit

Permalink
Update KotlinPoet to 1.15.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Omico committed Dec 7, 2023
1 parent 1616503 commit 2c2bf7a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build-logic/gradm/gradm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ versions:
delusion: "0.5.0"
elucidator: "0.13.0"
kotlin: "1.9.21"
kotlinpoet: "1.14.2"
kotlinpoet: "1.15.2"
plugins:
gradle.enterprise: "3.15.1"
spotless: "6.23.2"
Expand Down
2 changes: 1 addition & 1 deletion elucidator-generator/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
tasks.run<JavaExec> {
dependsOn(":spotlessApply")
args = listOf(
projectDir.resolveSibling("kotlinpoet/kotlinpoet/src/main").absolutePath,
projectDir.resolveSibling("kotlinpoet/kotlinpoet/src/commonMain").absolutePath,
projectDir.resolveSibling("elucidator/build/generated/kotlin").absolutePath,
)
}
2 changes: 1 addition & 1 deletion elucidator/src/main/kotlin/me/omico/elucidator/KtFile.kt
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ public fun KtFileScope.addNewline() {
builder.addStatement("")
}

public fun KtFileScope.writeTo(path: Path): Unit = build().writeTo(path)
public fun KtFileScope.writeTo(path: Path): Path = build().writeTo(path)
2 changes: 1 addition & 1 deletion kotlinpoet
Submodule kotlinpoet updated 113 files

0 comments on commit 2c2bf7a

Please sign in to comment.