Clean up project
This commit is contained in:
@@ -45,4 +45,6 @@ dependencies {
|
|||||||
implementation(libs.compose.material3)
|
implementation(libs.compose.material3)
|
||||||
implementation(libs.androidx.activity.compose)
|
implementation(libs.androidx.activity.compose)
|
||||||
debugImplementation(libs.compose.ui.tooling)
|
debugImplementation(libs.compose.ui.tooling)
|
||||||
}
|
|
||||||
|
implementation(project(":androidModules:utils"))
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
#Gradle
|
|
||||||
org.gradle.jvmargs=-Xmx2048M -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options\="-Xmx2048M"
|
|
||||||
org.gradle.caching=true
|
|
||||||
org.gradle.configuration-cache=true
|
|
||||||
|
|
||||||
#Kotlin
|
#Kotlin
|
||||||
kotlin.code.style=official
|
kotlin.code.style=official
|
||||||
|
kotlin.mpp.enableCInteropCommonization=true
|
||||||
|
kotlin.native.ignoreDisabledTargets=true
|
||||||
|
#Gradle
|
||||||
|
org.gradle.jvmargs=-Xms2G -Xmx8G -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC
|
||||||
#Android
|
#Android
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
android.nonTransitiveRClass=true
|
android.useTransitiveRClass=true
|
||||||
|
#Development
|
||||||
|
development=true
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kotlin {
|
kotlin {
|
||||||
|
kotlin.applyDefaultHierarchyTemplate()
|
||||||
|
|
||||||
|
androidTarget()
|
||||||
|
|
||||||
androidTarget {
|
androidTarget {
|
||||||
compilations.all {
|
compilations.all {
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
@@ -24,12 +28,23 @@ kotlin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sourceSets {
|
sourceSets {
|
||||||
commonMain.dependencies {
|
val commonMain by getting {
|
||||||
//put your multiplatform dependencies here
|
//Fix for: https://stackoverflow.com/a/69626787
|
||||||
|
all {
|
||||||
|
languageSettings.optIn("io.ktor.util.InternalAPI")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
|
||||||
|
}
|
||||||
|
kotlin.srcDir(layout.buildDirectory.dir("/generate-resources/main/src/"))
|
||||||
}
|
}
|
||||||
commonTest.dependencies {
|
val commonTest by getting {
|
||||||
implementation(libs.kotlin.test)
|
dependencies {
|
||||||
|
implementation(libs.kotlin.test)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
logger.info("${commonMain.name} ${commonTest.name}")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user