代码拉取完成,页面将自动刷新
//buildscript {
// ext {
// wear_compose_version = '1.0.0'
// }
//}// Top-level build file where you can add configuration options common to all sub-projects/modules.
//plugins {
// id 'com.android.application' version '8.0.2' apply false
// id 'com.android.library' version '8.0.2' apply false
// id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
//}
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
mavenLocal()
maven { url 'https://repo1.maven.org/maven2/' }
maven { url "https://maven.aliyun.com/repository/jcenter" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central/' }
maven { url 'https://jitpack.io' }
google()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.0"
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
}
}
allprojects{
repositories {
mavenLocal()
maven { url 'https://repo1.maven.org/maven2/' }
maven { url "https://maven.aliyun.com/repository/jcenter" }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/central/' }
maven { url 'https://jitpack.io' }
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
//task cacheToMavenLocal(type: Copy) {
// println("hello,gradle ==> " + repositories.mavenLocal().url)
// println("hello,gradle ==> " + gradle.gradleUserHomeDir)
// from new File(gradle.gradleUserHomeDir, 'caches/modules-2/files-2.1')
// into repositories.mavenLocal().url
// eachFile {
// List<String> parts = it.path.split('/')
// it.path = (parts[0]+ '/' + parts[1]).replace('.','/') + '/' + parts[2] + '/' + parts[4]
// }
// includeEmptyDirs false
// duplicatesStrategy "EXCLUDE"
//}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。