mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-11-18 14:13:46 +00:00
63 lines
1.1 KiB
Groovy
63 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal()
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
|
}
|
|
|
|
dependencies {
|
|
classpath libs.android.tools.build
|
|
classpath libs.android.dexcount
|
|
classpath libs.kotlin.gradle.plugin
|
|
classpath libs.kotlin.dokka.plugin
|
|
}
|
|
}
|
|
|
|
|
|
plugins {
|
|
alias(libs.plugins.kotlin.multiplatform)
|
|
alias(libs.plugins.kotlin.dokka)
|
|
}
|
|
|
|
apply plugin: "com.android.library"
|
|
|
|
project.version = "$version"
|
|
project.group = "$group"
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
|
|
kotlin {
|
|
jvm()
|
|
js(IR) {
|
|
browser()
|
|
nodejs()
|
|
}
|
|
android {
|
|
publishAllLibraryVariants()
|
|
}
|
|
|
|
sourceSets {
|
|
commonMain {
|
|
dependencies {
|
|
implementation libs.kotlin
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
apply from: "defaultAndroidSettings.gradle"
|
|
|
|
apply from: "./github_release.gradle"
|
|
apply from: "./publish.gradle"
|