-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into renovate/major-github-actions-updates
- Loading branch information
Showing
92 changed files
with
873 additions
and
476 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Kotlin Multiplatform Cache | ||
description: A GitHub Actions workflow for caching a Kotlin Multiplatform project using the Gradle build system. | ||
|
||
runs: | ||
using: composite | ||
steps: | ||
- name: Cache Gradle | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'buildSrc/**/Versions.kt', 'buildSrc/**/Dependencies.kt', 'gradle/*.versions.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-gradle- | ||
- name: Cache konan | ||
uses: actions/[email protected] | ||
with: | ||
path: | | ||
~/.konan/caches | ||
~/.konan/dependencies | ||
~/.konan/kotlin-native-prebuilt-* | ||
key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties', 'buildSrc/**/Versions.kt', 'buildSrc/**/Dependencies.kt', 'gradle/*.versions.toml') }} | ||
restore-keys: | | ||
${{ runner.os }}-konan- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-834 KB
composeApp/src/commonMain/composeResources/drawable/animation_asset_logo.png
Binary file not shown.
36 changes: 0 additions & 36 deletions
36
composeApp/src/commonMain/composeResources/drawable/compose-multiplatform.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@file:Suppress("MissingPackageDeclaration", "FunctionNaming") | ||
import androidx.compose.ui.window.ComposeUIViewController | ||
import navigation.Navigation | ||
import io.imrekaszab.eaplayers.navigation.Navigation | ||
|
||
fun MainViewController() = ComposeUIViewController { Navigation() } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi | ||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget | ||
|
||
plugins { | ||
alias(libs.plugins.kotlinMultiplatform) | ||
alias(libs.plugins.androidLibrary) | ||
alias(libs.plugins.jetbrainsCompose) | ||
alias(libs.plugins.composeMultiplatform) | ||
} | ||
|
||
kotlin { | ||
androidTarget { | ||
@OptIn(ExperimentalKotlinGradlePluginApi::class) | ||
compilerOptions { | ||
jvmTarget.set(JvmTarget.JVM_1_8) | ||
} | ||
} | ||
|
||
iosX64() | ||
iosArm64() | ||
iosSimulatorArm64() | ||
|
||
sourceSets { | ||
commonMain.dependencies { | ||
implementation(compose.runtime) | ||
implementation(compose.foundation) | ||
implementation(compose.material3) | ||
implementation(compose.ui) | ||
implementation(compose.components.resources) | ||
implementation(compose.components.uiToolingPreview) | ||
implementation(libs.compose.navigation) | ||
implementation(libs.compose.multiplatform.ui) | ||
implementation(libs.coil.compose.core) | ||
implementation(libs.coil.compose) | ||
implementation(libs.koin.compose.multiplatform) | ||
|
||
implementation(projects.features.details.viewmodel) | ||
implementation(projects.modules.core) | ||
implementation(projects.modules.domain) | ||
implementation(projects.modules.theme) | ||
} | ||
} | ||
} | ||
|
||
android { | ||
namespace = "io.imrekaszab.eaplayers.playerdetails.view" | ||
|
||
compileSdk = libs.versions.targetSdk.get().toInt() | ||
defaultConfig { | ||
minSdk = libs.versions.minSdk.get().toInt() | ||
} | ||
sourceSets["main"].manifest.srcFile("src/androidMain/AndroidManifest.xml") | ||
sourceSets["main"].res.srcDirs("src/androidMain/res") | ||
sourceSets["main"].resources.srcDirs("src/commonMain/resources") | ||
|
||
buildFeatures { | ||
compose = true | ||
buildConfig = true | ||
} | ||
dependencies { | ||
// Detekt | ||
detektPlugins(libs.detekt.formatting) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...mmonMain/kotlin/widget/AbilityItemView.kt → ...ekaszab/eaplayers/view/AbilityItemView.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ommonMain/kotlin/widget/PlayerStatItem.kt → ...rekaszab/eaplayers/view/PlayerStatItem.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.