-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
62 lines (53 loc) · 1.93 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
50
51
52
53
54
55
56
57
58
59
60
61
62
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
mavenCentral()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.22.0"
classpath "de.marcphilipp.gradle:nexus-publish-plugin:0.4.0"
}
}
apply plugin: 'io.codearte.nexus-staging'
Properties localProps = new Properties()
if (rootProject.file("local.properties").exists()) {
localProps.load(rootProject.file("local.properties").newDataInputStream())
}
subprojects {
tasks.withType(Javadoc).all { enabled = false }
}
allprojects {
repositories {
google()
mavenCentral()
}
ext {
groupId = 'com.queue-it.androidsdk'
libraryName = 'com.queue_it.androidsdk'
libraryDescription = 'Android SDK to integrate with Queue-it'
libraryVersion = "2.1.7"
organization = "Queue-it"
organizationUrl = "https://queue-it.com"
artifact = 'library'
siteUrl = "https://github.com/queueit/android-webui-sdk"
gitUrl = "https://github.com/queueit/android-webui-sdk.git"
licenseName = 'MIT'
licenseUrl = 'MIT'
allLicenses = ["MIT"]
var = '7.0.0-alpha05'
extraProperties = localProps
OSSRH_USERNAME = localProps.getProperty("OSSRH_USERNAME") ?: System.getenv("OSSRH_USERNAME")
OSSRH_PASSWORD = localProps.getProperty("OSSRH_PASSWORD") ?: System.getenv("OSSRH_PASSWORD")
PGP_KEY = localProps.getProperty("PGP_KEY") ?: System.getenv("PGP_KEY")
PGP_PASSWORD = localProps.getProperty("PGP_PASSWORD") ?: System.getenv("PGP_PASSWORD")
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}