Konstantin
10 months ago
committed by
GitHub
8 changed files with 71 additions and 2 deletions
@ -0,0 +1,25 @@
|
||||
plugins { |
||||
kotlin("multiplatform") |
||||
id("org.jetbrains.compose") |
||||
id("com.github.gmazzo.buildconfig") |
||||
} |
||||
|
||||
group = "app.group" |
||||
|
||||
kotlin { |
||||
jvm() |
||||
|
||||
sourceSets { |
||||
commonMain { |
||||
dependencies { |
||||
implementation(compose.runtime) |
||||
implementation(compose.material) |
||||
implementation(compose.components.resources) |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
||||
buildConfig { |
||||
buildConfigField(String::class.java, "str", "") |
||||
} |
@ -0,0 +1,9 @@
|
||||
import androidx.compose.material.Text |
||||
import androidx.compose.runtime.Composable |
||||
import app.group.empty_res.generated.resources.Res |
||||
|
||||
@Composable |
||||
fun App() { |
||||
val res = Res |
||||
Text("text") |
||||
} |
@ -0,0 +1,4 @@
|
||||
plugins { |
||||
kotlin("multiplatform").apply(false) |
||||
id("org.jetbrains.compose").apply(false) |
||||
} |
@ -0,0 +1 @@
|
||||
org.gradle.jvmargs=-Xmx8096M |
@ -0,0 +1,24 @@
|
||||
rootProject.name = "bundled_kp" |
||||
include(":app") |
||||
pluginManagement { |
||||
repositories { |
||||
mavenLocal() |
||||
gradlePluginPortal() |
||||
google() |
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||
} |
||||
plugins { |
||||
id("org.jetbrains.kotlin.multiplatform").version("KOTLIN_VERSION_PLACEHOLDER") |
||||
id("org.jetbrains.compose").version("COMPOSE_GRADLE_PLUGIN_VERSION_PLACEHOLDER") |
||||
id("com.github.gmazzo.buildconfig").version("5.3.5") |
||||
} |
||||
} |
||||
dependencyResolutionManagement { |
||||
repositories { |
||||
mavenLocal() |
||||
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev") |
||||
mavenCentral() |
||||
gradlePluginPortal() |
||||
google() |
||||
} |
||||
} |
Loading…
Reference in new issue