Files
AndroidCamera/code-scanner/build.gradle
T
coco 4af4d1c457 a
2026-07-03 15:59:36 +08:00

55 lines
1.9 KiB
Groovy

/*
* Code Scanner. An android app to scan and create codes(barcodes, QR codes, etc)
* Copyright (C) 2022 czlucius
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published
* by the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
google()
// jcenter()//已经不能使用了
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'https://repo1.maven.org/maven2/' }
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.0.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 {
google()
// jcenter()//已经不能使用了
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.aliyun.com/nexus/content/repositories/jcenter' }
maven { url 'https://repo1.maven.org/maven2/' }
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}