KSLog/build.gradle

86 lines
1.7 KiB
Groovy
Raw Normal View History

2022-06-07 09:17:21 +00:00
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
}
}
2022-06-07 14:02:59 +00:00
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
}
}
commonTest {
dependencies {
implementation libs.kotlin.test.common
implementation libs.kotlin.test.annotations.common
}
}
jvmTest {
dependencies {
implementation libs.kotlin.test.junit
}
}
jsTest {
dependencies {
implementation libs.kotlin.test.js
implementation libs.kotlin.test.junit
}
}
androidTest {
dependencies {
implementation libs.kotlin.test.junit
implementation libs.android.test.junit
implementation libs.android.test.espresso.core
}
}
2022-06-07 09:17:21 +00:00
}
}
2022-06-07 14:02:59 +00:00
java {
toolchain {
languageVersion = JavaLanguageVersion.of(8)
}
}
apply from: "defaultAndroidSettings.gradle"
2022-06-07 09:17:21 +00:00
// apply from: "./github_release.gradle"