-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
41 lines (40 loc) · 1.32 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
def majorVersion = 1
def minorVersion = 5
def patchVersion = 0
def buildNumber = 9
def buildVersionCode
def buildVersionName
buildVersionCode = majorVersion * 10000000 + minorVersion * 100000 + patchVersion * 100 + buildNumber
buildVersionName = "${majorVersion}.${minorVersion}.${patchVersion} build ${buildNumber}"
buildscript {
ext.kotlin_version = '1.3.41'
repositories {
google()
jcenter()
maven { url "https://maven.google.com" }
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.2'
classpath 'com.google.gms:google-services:4.3.0'
classpath 'io.fabric.tools:gradle:1.31.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
ext {
applicationId = "org.dvbviewer.controller"
compileSdkVersion = project.compileSdkVersion.toInteger()
buildToolsVersion = project.buildToolsVersion
minSdkVersion = project.minSdkVersion.toInteger()
targetSdkVersion = project.targetSdkVersion.toInteger()
versionCode = buildVersionCode
versionName = buildVersionName
}
allprojects {
repositories {
google()
mavenCentral()
jcenter()
}
}