Skip to content

Commit

Permalink
Migrate samples to new kword plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
npresseault committed Sep 27, 2024
1 parent dc49b4c commit b388662
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions trikot-kword/sample/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
id("com.android.library")
kotlin("multiplatform")
kotlin("native.cocoapods")
id("mirego.kword").version("5.4.0")
id("mirego.kword").version("5.5.0-dev2721")
}

group = "com.mirego.sample"
Expand All @@ -19,9 +19,9 @@ configurations {
}

kword {
translationFile = file("src/commonMain/resources/translations/translation.en.json")
enumClassName = "com.mirego.sample.KWordTranslation"
generatedDir = file("src/commonMain/generated")
translationFile.set(file("src/commonMain/resources/translations/translation.en.json"))
enumClassName.set("com.mirego.sample.KWordTranslation")
generatedDir.set(file("src/commonMain/generated"))
}

fun org.jetbrains.kotlin.gradle.plugin.mpp.Framework.configureFramework() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("com.android.library")
kotlin("multiplatform")
kotlin("native.cocoapods")
id("mirego.kword").version("2.0.1")
id("mirego.kword").version("5.5.0-dev2721")
}

group = "com.mirego.sample"
Expand All @@ -14,9 +14,9 @@ configurations {
}

kword {
translationFile = file("src/commonMain/resources/translations/translation.en.json")
enumClassName = "com.mirego.sample.KWordTranslation"
generatedDir = file("src/commonMain/generated")
translationFile.set(file("src/commonMain/resources/translations/translation.en.json"))
enumClassName.set("com.mirego.sample.KWordTranslation")
generatedDir.set(file("src/commonMain/generated"))
}

fun org.jetbrains.kotlin.gradle.plugin.mpp.Framework.configureFramework() {
Expand Down
8 changes: 4 additions & 4 deletions trikot-viewmodels-declarative/sample/common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id("com.android.library")
kotlin("multiplatform")
kotlin("native.cocoapods")
id("mirego.kword").version("2.0.1")
id("mirego.kword").version("5.5.0-dev2721")
}

group = "com.mirego.sample"
Expand All @@ -14,9 +14,9 @@ configurations {
}

kword {
translationFile = file("src/commonMain/resources/translations/translation.en.json")
enumClassName = "com.mirego.sample.KWordTranslation"
generatedDir = file("src/commonMain/generated")
translationFile.set(file("src/commonMain/resources/translations/translation.en.json"))
enumClassName.set("com.mirego.sample.KWordTranslation")
generatedDir.set(file("src/commonMain/generated"))
}

fun org.jetbrains.kotlin.gradle.plugin.mpp.Framework.configureFramework() {
Expand Down

0 comments on commit b388662

Please sign in to comment.