-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
40 lines (34 loc) · 1.1 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenLocal()
jcenter()
google()
mavenCentral()
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.4'
classpath "de.marcphilipp.gradle:nexus-publish-plugin:0.4.0"
classpath "io.codearte.gradle.nexus:gradle-nexus-staging-plugin:0.20.0"
}
}
apply plugin: 'io.codearte.nexus-staging'
allprojects {
repositories {
mavenLocal()
mavenCentral()
jcenter()
google()
}
ext {
// Android config
androidMinSdkVersion = minSdkVersionVersion.toInteger()
androidTargetSdkVersion = targetSdkVersion.toInteger()
androidCompileSdkVersion = compileSdkVersion.toInteger()
libAndroidSupport = "androidx.appcompat:appcompat:$supportLibraryVersion"
// Testing
libJunit = "junit:junit:${libJunitVersion}"
libMockito = "org.mockito:mockito-core:${libMockitoVersion}"
}
}