From e3f8c9d1c543d5d8e353fd7eff61869b2f6b0bbe Mon Sep 17 00:00:00 2001 From: 刘卫锦 <lwj@hdlchina.com.cn> Date: 星期四, 29 六月 2023 14:21:04 +0800 Subject: [PATCH] 代码同步 --- build.gradle | 44 +++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 41 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 905d3bd..a255faa 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,45 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. -plugins { - id 'com.android.application' version '7.1.3' apply false - id 'com.android.library' version '7.1.3' apply false + + +buildscript { + repositories { + google() + mavenCentral() + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } + maven { url = uri("https://plugins.gradle.org/m2/") } + maven { + url "https://jitpack.io" + } + } + dependencies { + classpath "com.android.tools.build:gradle:4.1.2" + classpath 'io.github.didi.dokit:dokitx-plugin:3.5.0.1' + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files + } +} + +allprojects { + repositories { + google() + mavenCentral() + maven { url 'https://maven.aliyun.com/repository/google' } + maven { url 'https://maven.aliyun.com/repository/jcenter' } + maven { url 'https://maven.aliyun.com/repository/public' } + maven { url "https://jitpack.io" } + maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' } + maven { url = uri("https://plugins.gradle.org/m2/") } + maven { + url 'https://maven.aliyun.com/repository/public' + } + maven { + credentials { + username '5f067ef57cd41782836ff14b' + password 'RyTWP(4APhV8' + } + url 'https://packages.aliyun.com/maven/repository/2012126-release-Mc0DNo/' + } + } } task clean(type: Delete) { -- Gitblit v1.8.0