-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
38 lines (34 loc) · 807 Bytes
/
build.gradle.kts
File metadata and controls
38 lines (34 loc) · 807 Bytes
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
buildscript {
val kotlinVersion: String by project
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:7.3.1")
classpath(kotlin("gradle-plugin", kotlinVersion))
classpath("io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.30.0")
}
}
plugins {
base
id("io.codearte.nexus-staging") version "0.30.0"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
tasks.named("clean") {
delete(project.buildDir)
}
nexusStaging {
val libGroup: String by project
val ossrhUsername: String by project
val ossrhPassword: String by project
packageGroup = libGroup
username = ossrhUsername
password = ossrhPassword
}