Initial commit
This commit is contained in:
commit
6c52ff9fd2
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
build/
|
||||
/.idea/
|
||||
.gradle/
|
||||
gradle/
|
||||
/gradlew*
|
||||
.kotlin/
|
||||
/kotlin-js-store/
|
||||
56
build.gradle.kts
Normal file
56
build.gradle.kts
Normal file
@ -0,0 +1,56 @@
|
||||
plugins {
|
||||
kotlin("multiplatform") version "2.1.10"
|
||||
}
|
||||
|
||||
group = "ru.landgrafhomyak.utilities"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://maven.landgrafhomyak.ru/")
|
||||
}
|
||||
|
||||
kotlin {
|
||||
mingwX64()
|
||||
|
||||
linuxX64()
|
||||
linuxArm64()
|
||||
|
||||
macosX64()
|
||||
macosArm64()
|
||||
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
implementation("ru.landgrafhomyak.utility:closeable-state-1:1.1")
|
||||
}
|
||||
}
|
||||
|
||||
// hierarchy
|
||||
val commonMain by getting
|
||||
val commonTest by getting
|
||||
|
||||
val windowsMain by creating { dependsOn(commonMain) }
|
||||
val windowsTest by creating { dependsOn(commonTest) }
|
||||
mingwX64Main { dependsOn(windowsMain) }
|
||||
mingwX64Test { dependsOn(windowsTest) }
|
||||
|
||||
val posixMain by creating { dependsOn(commonMain) }
|
||||
val posixTest by creating { dependsOn(commonTest) }
|
||||
|
||||
val linuxMain by creating { dependsOn(posixMain) }
|
||||
val linuxTest by creating { dependsOn(posixTest) }
|
||||
linuxX64Main { dependsOn(linuxMain) }
|
||||
linuxX64Test { dependsOn(linuxTest) }
|
||||
linuxArm64Main { dependsOn(linuxMain) }
|
||||
linuxArm64Test { dependsOn(linuxTest) }
|
||||
|
||||
val macosMain by creating { dependsOn(posixMain) }
|
||||
val macosTest by creating { dependsOn(posixTest) }
|
||||
macosX64Main { dependsOn(macosMain) }
|
||||
macosX64Test { dependsOn(macosTest) }
|
||||
macosArm64Main { dependsOn(macosMain) }
|
||||
macosArm64Test { dependsOn(macosTest) }
|
||||
}
|
||||
}
|
||||
2
settings.gradle.kts
Normal file
2
settings.gradle.kts
Normal file
@ -0,0 +1,2 @@
|
||||
rootProject.name = "kotlin-native-stdlib-1"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user