1234567891011121314151617181920212223242526272829303132333435 |
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
- apply from: "libversion.gradle"
- buildscript {
- ext.kotlin_version = '1.4.0-rc'
- ext.kotlin_version = "1.3.72"
- repositories {
- google()
- jcenter()
- }
- dependencies {
- classpath "com.android.tools.build:gradle:4.0.1"
- 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
- classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'//动态获取权限
- }
- }
- allprojects {
- repositories {
- google()
- jcenter()
- maven { url "https://jitpack.io" }
- flatDir {
- dirs project(':base').file('libs')
- dirs project(':basekt').file('libs')
- dirs project(':app').file('libs')
- }
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|