Extracting to separate library

This commit is contained in:
Andrew Golovashevich 2025-03-24 20:36:45 +03:00
parent 7202132455
commit e70775ac78
3 changed files with 58 additions and 0 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
/.idea/
gradle/
.gradle/
build/
*.class
*.jar
/out/
/gradlew*
.kotlin/

48
build.gradle.kts Normal file
View File

@ -0,0 +1,48 @@
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.*
import ru.landgrafhomyak.kotlin.kmp_gradle_build_helper.plugin.xomrk
buildscript {
repositories {
mavenCentral()
maven("https://maven.landgrafhomyak.ru/")
}
dependencies {
classpath("ru.landgrafhomyak.kotlin:kotlin-mpp-gradle-build:v0.3k2.1.10")
}
}
group = "ru.landgrafhomyak.db"
version = "0.1"
repositories {
mavenCentral()
maven("https://maven.landgrafhomyak.ru/")
}
xomrk {
kotlin {
setCompatibilityWithKotlin(KotlinVersion.KOTLIN_2_0)
optInContracts()
explicitApi()
jvm()
sourceSets {
jvmMain {
dependencies {
compileOnly("com.intellij:annotations:9.0.4")
}
}
}
}
publishing {
repositories {
defineXomrkGiteaMavenRepo()
}
forceSetAllMavenArtifactsId(project.name)
}
}

1
settings.gradle.kts Normal file
View File

@ -0,0 +1 @@
rootProject.name = "jdbc-kotlin-extensions"