Skip to content

Commit

Permalink
V2.3.1: Update kotlinpoet. Fix tests (shame on me)
Browse files Browse the repository at this point in the history
  • Loading branch information
LimeBeck committed Jul 7, 2024
1 parent 78c81b1 commit 0f8427c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group = "dev.limebeck"
version = "2.3.0"
version = "2.3.1"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
}

group = "dev.limebeck"
version = "2.2.1"
version = rootProject.version

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kotlin = "2.0.0"

[libraries]
kotlinpoet = { module = "com.squareup:kotlinpoet", version = "1.17.0" }
kotlinpoet = { module = "com.squareup:kotlinpoet", version = "1.18.0" }
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }

kotlin-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
Expand Down
16 changes: 12 additions & 4 deletions src/test/kotlin/PluginTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,12 @@ class PluginTest {
public val someProp5: Boolean = true
public object nested {
public val someProp: String = "SomeValue"
public val nested: Nested = object : Nested {
override val someProp: String = "SomeValue"
}
public interface Nested {
public val someProp: String
}
}
""".trimIndent()
Expand Down Expand Up @@ -158,8 +162,12 @@ class PluginTest {
public val someProp5: Boolean = true
public object nested {
public val someProp: String = "SomeValue"
public val nested: Nested = object : Nested {
override val someProp: String = "SomeValue"
}
public interface Nested {
public val someProp: String
}
}
""".trimIndent()
Expand Down

0 comments on commit 0f8427c

Please sign in to comment.