init: init proj
This commit is contained in:
60
build.gradle
Normal file
60
build.gradle
Normal file
@@ -0,0 +1,60 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
ext.kotlin_version = "1.5.31"
|
||||
repositories {
|
||||
maven { url 'https://www.jitpack.io' }
|
||||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
maven { url 'https://developer.huawei.com/repo/' }
|
||||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||||
|
||||
|
||||
google()
|
||||
mavenCentral()
|
||||
|
||||
maven {
|
||||
url "http://118.31.6.84:8081/repository/maven-public/"
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:7.2.0"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.21"
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
maven { url 'https://www.jitpack.io' }
|
||||
maven { url 'https://maven.aliyun.com/repository/google' }
|
||||
maven { url 'https://maven.aliyun.com/repository/central' }
|
||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
||||
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
|
||||
|
||||
maven { url 'https://repo1.maven.org/maven2/' }
|
||||
maven { url 'https://developer.huawei.com/repo/' }
|
||||
maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
|
||||
|
||||
google()
|
||||
mavenCentral()
|
||||
|
||||
flatDir {
|
||||
dirs 'libs', '../module_base/libs'
|
||||
}
|
||||
|
||||
maven {
|
||||
url "http://118.31.6.84:8081/repository/maven-public/"
|
||||
allowInsecureProtocol true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
Reference in New Issue
Block a user