Initial commit
This commit is contained in:
commit
fd5593ec24
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 @@
|
|||||||
|
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.configureAllCompilersOptions
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.defineAllMultiplatformTargets
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.defineXomrkGiteaMavenRepo
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.optInContracts
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.plugin.xomrk
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.setCompatibilityWithKotlin
|
||||||
|
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.warningsAsErrors
|
||||||
|
|
||||||
|
buildscript {
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven("https://maven.landgrafhomyak.ru/")
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build:v0.2k2.0.20")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
group = "ru.landgrafhomyak.db.serdha"
|
||||||
|
version = "0.0"
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
maven("https://maven.landgrafhomyak.ru/")
|
||||||
|
}
|
||||||
|
|
||||||
|
xomrk {
|
||||||
|
kotlin {
|
||||||
|
explicitApi()
|
||||||
|
warningsAsErrors()
|
||||||
|
optInContracts()
|
||||||
|
setCompatibilityWithKotlin(KotlinVersion.KOTLIN_1_7)
|
||||||
|
configureAllCompilersOptions { freeCompilerArgs.add("-Xjvm-default=all") }
|
||||||
|
|
||||||
|
jvmToolchain(8)
|
||||||
|
defineAllMultiplatformTargets()
|
||||||
|
|
||||||
|
|
||||||
|
sourceSets {
|
||||||
|
commonMain {
|
||||||
|
dependencies {
|
||||||
|
compileOnly("ru.landgrafhomyak.db.serdha:serdha-0-api:0.0")
|
||||||
|
implementation("ru.landgrafhomyak.utilities:int-serializers:1.1")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
publishing {
|
||||||
|
repositories {
|
||||||
|
defineXomrkGiteaMavenRepo(user="SERDHA")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2
settings.gradle.kts
Normal file
2
settings.gradle.kts
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
rootProject.name = "serdha-0-user-commons"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user