first commit

This commit is contained in:
renjianbo
2026-01-05 15:39:47 +08:00
parent 95475bd17b
commit 74bf664ed8
54 changed files with 6094 additions and 5924 deletions

View File

@@ -1,31 +1,63 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 非常重要根目录的build.gradle头部加入自定义gradle相当于layout布局中include
apply from : "app_config.gradle"
buildscript {
ext.kotlin_version = '1.3.72'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
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
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
// 非常重要根目录的build.gradle头部加入自定义gradle相当于layout布局中include
apply from : "app_config.gradle"
buildscript {
ext {
agp_version = '8.7.3'
}
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
maven { url 'https://maven.aliyun.com/repository/central' }//central
maven { url 'https://maven.aliyun.com/repository/google' }//google
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_version"
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath "net.ltgt.gradle:gradle-errorprone-plugin:0.6"
// Kotlin 标准库DataBinding 编译器在 AGP 8.x 中需要)
classpath 'org.jetbrains.kotlin:kotlin-stdlib:1.9.22'
}
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/repository/public' }//jcenter
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }//gradle-plugin
maven { url 'https://maven.aliyun.com/repository/central' }//central
maven { url 'https://maven.aliyun.com/repository/google' }//google
flatDir {
dirs 'libs'
}
google()
jcenter()
maven { url "https://jitpack.io"}
maven { url "https://www.jitpack.io" }
// maven { url 'https://dl.bintray.com/aweme-open-sdk-team/public' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}