Skip to content

Commit

Permalink
Update Freeletics Gradle Plugin to v0.5.0 (#549)
Browse files Browse the repository at this point in the history
* Update Freeletics Gradle Plugin to v0.5.0

* update dsl

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabriel Ittner <gabriel.ittner@gmail.com>
  • Loading branch information
renovate[bot] and gabrielittner authored Aug 9, 2023
1 parent 0f16c80 commit 34f4a22
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .kts/ktlint.main.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env kotlin

@file:DependsOn("com.freeletics.gradle:scripts:0.4.0")
@file:DependsOn("com.freeletics.gradle:scripts:0.5.0")

import com.freeletics.gradle.scripts.KtLintCli

Expand Down
4 changes: 3 additions & 1 deletion flowredux/flowredux.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ plugins {
freeletics {
explicitApi()

addCommonTargets()
multiplatform {
addCommonTargets()
}
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ mad = "0.15.0"

turbine = "1.0.0"

fgp = "0.4.0"
fgp = "0.5.0"
publish = "0.25.3"
dokka = "1.8.20"
binarycompatibility = "0.13.2"
Expand Down
5 changes: 4 additions & 1 deletion sample/android/sample-android.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ plugins {
}

freeletics {
enableCompose()
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")

android {
enableCompose()
}
}

dependencies {
Expand Down
6 changes: 4 additions & 2 deletions sample/shared_code/sample-shared_code.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ plugins {
freeletics {
optIn("kotlinx.coroutines.ExperimentalCoroutinesApi")

addJvmTarget()
addIosTargets("shared", true)
multiplatform {
addJvmTarget()
addIosTargets("shared", true)
}
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pluginManagement {
}

plugins {
id("com.freeletics.gradle.settings").version("0.4.0")
id("com.freeletics.gradle.settings").version("0.5.0")
}

rootProject.name = "flowredux-library"

0 comments on commit 34f4a22

Please sign in to comment.