mirror of
https://github.com/fankes/TSBattery.git
synced 2025-09-05 02:05:16 +08:00
整理代码并更新依赖版本
This commit is contained in:
18
build.gradle
18
build.gradle
@@ -1,15 +1,15 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
buildscript {
|
||||
ext.kotlin_version = "1.4.20"
|
||||
ext.kotlin_version = "1.6.0"
|
||||
repositories {
|
||||
google()
|
||||
//noinspection JcenterRepositoryObsolete
|
||||
jcenter()
|
||||
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
||||
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
||||
maven { url "https://www.jitpack.io" }
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
//noinspection AndroidGradlePluginVersion
|
||||
classpath "com.android.tools.build:gradle:4.1.1"
|
||||
//noinspection DifferentKotlinGradleVersion
|
||||
classpath "com.android.tools.build:gradle:7.0.3"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
@@ -20,8 +20,10 @@ buildscript {
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
//noinspection JcenterRepositoryObsolete
|
||||
jcenter()
|
||||
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
|
||||
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
|
||||
maven { url "https://www.jitpack.io" }
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user