-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (35 loc) · 1.2 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
44 lines (35 loc) · 1.2 KB
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
40
41
42
43
44
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
extra.set("kotlin_version", "1.9.10")
repositories {
google()
mavenCentral()
}
dependencies {
val kotlinVersion = rootProject.extra.get("kotlin_version")
classpath("com.android.tools.build:gradle:8.9.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
id("org.jetbrains.dokka") version "1.9.10"
id("org.jetbrains.kotlin.android") version "1.9.10" apply false
id("com.google.devtools.ksp") version "1.9.10-1.0.13" apply false
id("com.vanniktech.maven.publish") version "0.31.0" apply false
}
// apply {
// from("${rootDir}/scripts/publish-root.gradle")
// }
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.register("clean", Delete::class) {
delete(rootProject.layout.buildDirectory)
}