-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathbuild.gradle.kts
25 lines (23 loc) · 989 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kotlin.android) apply false
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
// id("com.huawei.agconnect") version "1.9.1.300" apply false
}
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
nexusPublishing {
repositories {
sonatype {
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username.set(System.getenv("MAVEN_TOKEN_USERNAME"))
password.set(System.getenv("MAVEN_TOKEN_PASSWORD"))
}
}
packageGroup.set(libs.versions.publish.maven.group.id.get())
}