Clean up project
This commit is contained in:
@@ -45,4 +45,6 @@ dependencies {
|
||||
implementation(libs.compose.material3)
|
||||
implementation(libs.androidx.activity.compose)
|
||||
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.code.style=official
|
||||
|
||||
kotlin.mpp.enableCInteropCommonization=true
|
||||
kotlin.native.ignoreDisabledTargets=true
|
||||
#Gradle
|
||||
org.gradle.jvmargs=-Xms2G -Xmx8G -XX:+HeapDumpOnOutOfMemoryError -XX:+UseG1GC
|
||||
#Android
|
||||
android.useAndroidX=true
|
||||
android.nonTransitiveRClass=true
|
||||
android.useTransitiveRClass=true
|
||||
#Development
|
||||
development=true
|
||||
|
||||
@@ -4,6 +4,10 @@ plugins {
|
||||
}
|
||||
|
||||
kotlin {
|
||||
kotlin.applyDefaultHierarchyTemplate()
|
||||
|
||||
androidTarget()
|
||||
|
||||
androidTarget {
|
||||
compilations.all {
|
||||
kotlinOptions {
|
||||
@@ -24,12 +28,23 @@ kotlin {
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
commonMain.dependencies {
|
||||
//put your multiplatform dependencies here
|
||||
val commonMain by getting {
|
||||
//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 {
|
||||
implementation(libs.kotlin.test)
|
||||
val commonTest by getting {
|
||||
dependencies {
|
||||
implementation(libs.kotlin.test)
|
||||
}
|
||||
}
|
||||
logger.info("${commonMain.name} ${commonTest.name}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user