-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
41 lines (38 loc) · 957 Bytes
/
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
36
37
38
39
40
41
buildscript {
ext {
kotlin_version = '2.0.0'
}
repositories {
jcenter()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.5.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}
allprojects {
repositories {
mavenCentral()
google()
}
}
/**
* Requires the following environment variables to be set:
* - ORG_GRADLE_PROJECT_sonatypeUsername
* - ORG_GRADLE_PROJECT_sonatypePassword
*
* @see https://github.com/gradle-nexus/publish-plugin
*/
nexusPublishing {
repositories {
sonatype {
nexusUrl.set uri('https://s01.oss.sonatype.org/service/local/')
snapshotRepositoryUrl.set uri('https://s01.oss.sonatype.org/content/repositories/snapshots/')
stagingProfileId = '117eb260e0ad59'
}
}
}