mirror of
https://github.com/NiciDieNase/chaosflix
synced 2024-11-22 12:23:06 +00:00
48 lines
No EOL
1.1 KiB
Groovy
48 lines
No EOL
1.1 KiB
Groovy
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
|
|
buildscript {
|
|
ext.kotlin_version = '1.2.30'
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:3.1.4'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
|
|
|
|
|
// NOTE: Do not place your application dependencies here; they belong
|
|
// in the individual module build.gradle files
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
mavenLocal()
|
|
jcenter()
|
|
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
|
google()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
}
|
|
|
|
ext{
|
|
compileSdkVersion = 27
|
|
buildToolsVersion = "27.0.3"
|
|
supportLibraryVersion = "27.1.1"
|
|
constraintLayoutVersion = "1.0.2"
|
|
archCompVersion = "1.1.1"
|
|
minSDK = 22
|
|
targetSDK = 27
|
|
}
|
|
|
|
task clean(type: Delete) {
|
|
delete rootProject.buildDir
|
|
}
|
|
|
|
configurations.all {
|
|
resolutionStrategy {
|
|
cacheChangingModulesFor 0, 'seconds'
|
|
}
|
|
} |