-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
30 lines (29 loc) · 891 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
buildscript {
repositories {
mavenCentral()
maven {
url 'https://maven.google.com/'
name 'Google'
}
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.6.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:2.0.0'
classpath 'com.jakewharton:butterknife-gradle-plugin:10.2.3'
}
}
allprojects {
repositories {
mavenCentral()
// Here for convince when testing new releases
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
maven { url 'https://plugins.gradle.org/m2' }
maven { url "https://maven.google.com" }
google()
}
// Is Release Build?
ext.isReleaseVersion = project.hasProperty("release")
ext.versionCodeInt = getProperty('VERSION_CODE').toInteger()
version = VERSION_NAME
}