-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
41 lines (28 loc) · 965 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
buildscript {
val kotlinVersion = "2.0.20"
dependencies {
classpath(kotlin("gradle-plugin", version = kotlinVersion))
classpath("com.android.tools.build:gradle:8.2.2")
classpath(kotlin("serialization", version = kotlinVersion))
}
}
plugins {
kotlin("multiplatform") version "2.0.20" apply false
id("com.android.library") version "8.2.2" apply false
id("org.jetbrains.kotlinx.atomicfu") version "0.25.0"
}
allprojects {
apply(plugin = "org.jetbrains.kotlin.plugin.serialization")
apply(plugin = "maven-publish")
group = "com.github.KotlinGeekDev"
version = "1.0-beta-06"
val javadocJar = tasks.register<Jar>("javadocJar") {
archiveClassifier.set("javadoc")
}
extensions.configure<PublishingExtension> {
publications.withType<MavenPublication>().configureEach {
version = project.version.toString()
artifact(javadocJar)
}
}
}