-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
49 lines (43 loc) · 1.09 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.1'
}
}
plugins {
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
}
if (project.hasProperty("lexVersion")) {
project.setVersion(lexVersion)
}
ext {
PUBLISH_GROUP_ID = 'com.cryptlex.android.lexactivator'
PUBLISH_ARTIFACT_ID = 'lexactivator'
PUBLISH_VERSION = version
OSSRH_USERNAME = System.getenv('OSSRH_USERNAME')
OSSRH_PASSWORD = System.getenv('OSSRH_PASSWORD')
}
nexusPublishing {
repositories {
sonatype {
stagingProfileId = "24cc48a79ab9aa"
nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
username = OSSRH_USERNAME
password = OSSRH_PASSWORD
}
}
}
group = "com.cryptlex.android.lexactivator"
allprojects {
repositories {
mavenCentral()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}