Initial commit
This commit is contained in:
commit
b6ccb14fd8
7
.gitignore
vendored
Normal file
7
.gitignore
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
build/
|
||||
/.idea/
|
||||
/.gradle/
|
||||
/gradle/
|
||||
/gradlew*
|
||||
/.kotlin/
|
||||
/kotlin-js-store/
|
82
build.gradle.kts
Normal file
82
build.gradle.kts
Normal file
@ -0,0 +1,82 @@
|
||||
import org.jetbrains.kotlin.gradle.ExperimentalWasmDsl
|
||||
|
||||
plugins {
|
||||
kotlin("multiplatform") version "2.0.20"
|
||||
`maven-publish`
|
||||
}
|
||||
|
||||
group = "ru.landgrafhomyak.kotlin.utilities"
|
||||
version = "v0.1k2.0.20"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven("https://maven.landgrafhomyak.ru/")
|
||||
}
|
||||
|
||||
@OptIn(ExperimentalWasmDsl::class)
|
||||
kotlin {
|
||||
explicitApi()
|
||||
|
||||
jvmToolchain(8)
|
||||
jvm {
|
||||
}
|
||||
js(IR) {
|
||||
browser()
|
||||
nodejs()
|
||||
}
|
||||
wasmWasi {
|
||||
nodejs()
|
||||
}
|
||||
wasmJs {
|
||||
nodejs()
|
||||
browser()
|
||||
d8()
|
||||
}
|
||||
|
||||
macosArm64()
|
||||
macosX64()
|
||||
linuxArm64()
|
||||
linuxX64()
|
||||
mingwX64()
|
||||
androidNativeArm32()
|
||||
androidNativeArm64()
|
||||
androidNativeX64()
|
||||
androidNativeX86()
|
||||
iosArm64()
|
||||
iosSimulatorArm64()
|
||||
iosX64()
|
||||
tvosX64()
|
||||
tvosArm64()
|
||||
tvosSimulatorArm64()
|
||||
watchosX64()
|
||||
watchosArm32()
|
||||
watchosArm64()
|
||||
watchosDeviceArm64()
|
||||
watchosSimulatorArm64()
|
||||
|
||||
sourceSets {
|
||||
commonMain {
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
// other settings of publication
|
||||
repositories {
|
||||
maven {
|
||||
name = "XomrkMaven"
|
||||
url = uri("https://maven.landgrafhomyak.ru/")
|
||||
|
||||
credentials(HttpHeaderCredentials::class) {
|
||||
name = "Authorization"
|
||||
value = "token ${System.getenv("XOMRK_MAVEN_REPO_DEPLOY_TOKEN")}"
|
||||
}
|
||||
|
||||
authentication {
|
||||
create<HttpHeaderAuthentication>("header")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
1
gradle.properties
Normal file
1
gradle.properties
Normal file
@ -0,0 +1 @@
|
||||
kotlin.code.style=official
|
2
settings.gradle.kts
Normal file
2
settings.gradle.kts
Normal file
@ -0,0 +1,2 @@
|
||||
rootProject.name = "kotlin-multiplatform-switches"
|
||||
|
Loading…
Reference in New Issue
Block a user