-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e26eab7
commit 537b9fe
Showing
3 changed files
with
26 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,6 @@ | ||
// Top-level build file where you can add configuration options common to all sub-projects/modules. | ||
buildscript { | ||
ext.kotlin_version = "1.7.10" | ||
repositories { | ||
maven { url 'https://maven.aliyun.com/repository/public' }//central仓和jcenter仓的聚合仓 | ||
maven { url 'https://maven.aliyun.com/repository/google' }//https://maven.google.com/ | ||
// google() | ||
// jcenter() | ||
} | ||
dependencies { | ||
classpath 'com.android.tools.build:gradle:4.2.2' | ||
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 { | ||
maven { url 'https://maven.aliyun.com/repository/public' }//central仓和jcenter仓的聚合仓 | ||
maven { url 'https://maven.aliyun.com/repository/google' }//https://maven.google.com/ | ||
// google() | ||
// jcenter() | ||
} | ||
} | ||
|
||
task clean(type: Delete) { | ||
delete rootProject.buildDir | ||
plugins { | ||
id 'com.android.application' version '7.3.0' apply false | ||
id 'com.android.library' version '7.3.0' apply false | ||
id 'org.jetbrains.kotlin.android' version '1.7.10' apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
pluginManagement { | ||
repositories { | ||
gradlePluginPortal() | ||
maven { url 'https://maven.aliyun.com/repository/public' }//central仓和jcenter仓的聚合仓 | ||
maven { url 'https://maven.aliyun.com/repository/google' }//https://maven.google.com/ | ||
// google() | ||
// mavenCentral() | ||
} | ||
} | ||
dependencyResolutionManagement { | ||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) | ||
repositories { | ||
maven { url 'https://maven.aliyun.com/repository/public' }//central仓和jcenter仓的聚合仓 | ||
maven { url 'https://maven.aliyun.com/repository/google' }//https://maven.google.com/ | ||
// google() | ||
// mavenCentral() | ||
} | ||
} | ||
include ':app' | ||
rootProject.name = "ActivityLog" |