-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
35 lines (30 loc) · 1.01 KB
/
build.gradle
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
buildscript {
ext {
compose_version = '1.3.3'
}
}// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.3.0' apply false
id 'com.android.library' version '7.3.0' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
}
apply from: 'gradle/release/text_lib_info.gradle'
ext {
libraryInfo = getLibraryInfo()
}
group = libraryInfo.groupId
version = libraryInfo.lib_versionName
task clean(type: Delete) {
delete rootProject.buildDir
}
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 = System.getenv("MAVEN_TOKEN_USERNAME")
password = System.getenv("MAVEN_TOKEN_PASSWORD")
}
}
}