1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- buildscript {
- ext.kotlin_version = '1.6.10'
- repositories {
- google()
- mavenCentral()
- maven { url 'https://repo1.maven.org/maven2/' }
- maven {
- url "http://mvn.gt.getui.com/nexus/content/repositories/releases/"
- }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/jcenter' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
- flatDir {
- dirs 'libs'
- }
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:4.1.0'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- allprojects {
- repositories {
- google()
- mavenCentral()
- maven { url 'https://repo1.maven.org/maven2/' }
- maven {
- url "http://mvn.gt.getui.com/nexus/content/repositories/releases/"
- }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/jcenter' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public' }
- flatDir {
- dirs 'libs'
- }
- }
- }
- rootProject.buildDir = '../build'
- subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
- }
- subprojects {
- project.evaluationDependsOn(':app')
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
|