chage to news format
parent
772718fda8
commit
0afee1120b
@ -1,28 +1,34 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
// 增加这行
|
||||
mavenCentral()
|
||||
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.1.0'
|
||||
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20'
|
||||
}
|
||||
plugins {
|
||||
id 'com.android.application' version '8.1.0' apply false
|
||||
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
jcenter()
|
||||
maven {url "https://jitpack.io"}
|
||||
maven {url 'https://maven.google.com'}
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
//buildscript {
|
||||
// repositories {
|
||||
// google()
|
||||
// jcenter()
|
||||
// // 增加这行
|
||||
// mavenCentral()
|
||||
//
|
||||
// }
|
||||
// dependencies {
|
||||
// classpath 'com.android.tools.build:gradle:8.1.0'
|
||||
// classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20'
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//allprojects {
|
||||
// repositories {
|
||||
// google()
|
||||
// jcenter()
|
||||
// maven {url "https://jitpack.io"}
|
||||
// maven {url 'https://maven.google.com'}
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//task clean(type: Delete) {
|
||||
// delete rootProject.buildDir
|
||||
//}
|
||||
|
||||
@ -1,2 +1,22 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
gradlePluginPortal()
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
jcenter()
|
||||
maven {url "https://jitpack.io"}
|
||||
maven {url 'https://maven.google.com'}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
include ':app', ':videocompressor'
|
||||
rootProject.name = "ZHDCOA"
|
||||
|
||||
Loading…
Reference in New Issue