Skip to content

Commit

Permalink
icerockdev#530 update samples
Browse files Browse the repository at this point in the history
  • Loading branch information
ExNDY committed Jul 31, 2023
1 parent d2407b7 commit 2bdd8a0
Show file tree
Hide file tree
Showing 24 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions samples/compose-jvm-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildscript {
}
dependencies {
classpath(moko.resourcesGradlePlugin)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.4.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.4.3")
}
}
2 changes: 1 addition & 1 deletion samples/compose-resources-gallery/.run/iosApp.run.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="iosApp" type="KmmRunConfiguration" factoryName="iOS Application" CONFIG_VERSION="1" EXEC_TARGET_ID="1D19AA25-FF22-481F-819D-A4ACC03E869F" XCODE_PROJECT="$PROJECT_DIR$/./iosApp/iosApp.xcworkspace" XCODE_CONFIGURATION="Debug" XCODE_SCHEME="iosApp">
<configuration default="false" name="iosApp" type="KmmRunConfiguration" factoryName="iOS Application" CONFIG_VERSION="1" EXEC_TARGET_ID="AFF90CBC-9CF8-4E9B-AC30-C1052F49F0BE" XCODE_PROJECT="$PROJECT_DIR$/./iosApp/iosApp.xcworkspace" XCODE_CONFIGURATION="Debug" XCODE_SCHEME="iosApp">
<method v="2">
<option name="com.jetbrains.kmm.ios.BuildIOSAppTask" enabled="true" />
</method>
Expand Down
4 changes: 2 additions & 2 deletions samples/compose-resources-gallery/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ kotlin.mpp.androidSourceSetLayoutVersion=2
kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
# Enable kotlin/native experimental memory model
kotlin.native.binary.memoryModel=experimental
kotlin.version=1.8.20
kotlin.version=1.8.21
agp.version=8.0.1
compose.version=1.4.0
compose.version=1.4.3
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import androidx.compose.material.*
import androidx.compose.runtime.*
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.ColorFilter
import androidx.compose.ui.unit.dp
import com.icerockdev.library.MR
Expand Down
2 changes: 1 addition & 1 deletion samples/ios-static-xcframework/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ buildscript {
}
dependencies {
classpath(moko.resourcesGradlePlugin)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
}
}
2 changes: 1 addition & 1 deletion samples/kotlin-ios-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ buildscript {
}
dependencies {
classpath(moko.resourcesGradlePlugin)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
}
}
4 changes: 2 additions & 2 deletions samples/resources-gallery/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ buildscript {
}
dependencies {
classpath(moko.resourcesGradlePlugin)
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.21")
classpath("com.android.tools.build:gradle:7.4.2")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.4.0")
classpath("org.jetbrains.compose:compose-gradle-plugin:1.4.3")
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,22 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
api("org.jetbrains.kotlin:kotlin-test:1.8.10")
api("org.jetbrains.kotlin:kotlin-test-annotations-common:1.8.10")
api("org.jetbrains.kotlin:kotlin-test:1.8.21")
api("org.jetbrains.kotlin:kotlin-test-annotations-common:1.8.21")
api("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.6.4")
api(moko.resourcesTest)
}
}

val jvmMain by getting {
dependencies {
api("org.jetbrains.kotlin:kotlin-test-junit:1.8.10")
api("org.jetbrains.kotlin:kotlin-test-junit:1.8.21")
}
}

val androidMain by getting {
dependencies {
api("org.jetbrains.kotlin:kotlin-test-junit:1.8.10")
api("org.jetbrains.kotlin:kotlin-test-junit:1.8.21")
api("androidx.test:core:1.5.0")
api("org.robolectric:robolectric:4.10.3")
api("junit:junit:4.13.2")
Expand Down

0 comments on commit 2bdd8a0

Please sign in to comment.