12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- buildscript {
- ext.kotlin_version = '1.5.0'
- repositories {
- google()
- maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- }
- dependencies {
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- classpath 'com.android.tools.build:gradle:4.2.1'
- }
- }
- allprojects {
- repositories {
- flatDir {
- dirs 'libs'
- }
- google()
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url "https://jitpack.io" }
- }
- }
- allprojects {
- repositories {
- maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
- maven { url 'https://maven.aliyun.com/repository/google' }
- maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
- maven { url 'https://maven.aliyun.com/repository/jcenter'}
- // maven { url 'http://47.93.180.222:8081/repository/mobile-releases/' }//德卡读卡器仓库
- }
- }
- task clean(type: Delete) {
- delete rootProject.buildDir
- }
- tasks.withType(JavaCompile) {
- options.encoding = "UTF-8"
- }
|