Auto.js/build.gradle
2018-10-10 14:49:59 +08:00

34 lines
656 B
Groovy

import groovy.json.JsonSlurper
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
}
}
allprojects {
repositories {
jcenter()
maven {
url "https://jitpack.io"
}
google()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
versions = new JsonSlurper().parse(file('./project-versions.json'))
}