123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- buildscript {
- ext.kotlin_version = '1.8.22'
- repositories {
- mavenLocal()
- maven { url 'https://maven.aliyun.com/repository/central' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://maven.aliyun.com/repository/spring' }
- maven { url 'https://maven.aliyun.com/repository/spring-plugin' }
- maven { url 'https://maven.aliyun.com/repository/grails-core' }
- maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
- mavenCentral()
- google()
- }
- dependencies {
- classpath 'com.android.tools.build:gradle:7.0.4'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
- }
- allprojects {
- repositories {
- mavenLocal()
- maven { url 'https://maven.aliyun.com/repository/central' }
- maven { url 'https://maven.aliyun.com/repository/public' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://maven.aliyun.com/repository/spring' }
- maven { url 'https://maven.aliyun.com/repository/spring-plugin' }
- maven { url 'https://maven.aliyun.com/repository/grails-core' }
- maven { url 'https://maven.aliyun.com/repository/apache-snapshots' }
- mavenCentral()
- google()
- }
- }
- rootProject.buildDir = '../build'
- subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
- }
- subprojects {
- project.evaluationDependsOn(':app')
- }
- tasks.register("clean", Delete) {
- delete rootProject.buildDir
- }
|