-
-
Notifications
You must be signed in to change notification settings - Fork 185
/
build.gradle
43 lines (38 loc) · 1000 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
42
43
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.getkeepsafe.dexcount:dexcount-gradle-plugin:2.0.0'
}
}
plugins {
// id("org.jetbrains.dokka") version "1.4.32"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
ext {
minSdk = 14
targetSdk = 30
compileSdkVersion = 30
buildToolsVersion = "30.0.2"
materialVersion = "1.3.0"
constraintlayoutVersion = "2.0.4"
supportVersion = '1.2.0'
legacySupportVersion = '1.0.0'
espressoCoreVersion = "3.3.0"
testRulesVersion = "1.3.0"
versionCode = getCommitsCount()
versionName = "4.3"
}
allprojects {
repositories {
mavenCentral()
google()
}
}
def getCommitsCount() {
return "git rev-list HEAD --count".execute().text.toInteger()
}