优化细节
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android'
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
//apply plugin: 'kotlin-android'
|
||||
//apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
android {
|
||||
compileSdkVersion build_versions.compileSdk
|
||||
@@ -30,9 +30,9 @@ android {
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
// kotlinOptions {
|
||||
// jvmTarget = '1.8'
|
||||
// }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -45,8 +45,8 @@ dependencies {
|
||||
implementation deps.androidx.appcompat
|
||||
implementation deps.androidx.constraintlayout
|
||||
|
||||
implementation deps.kotlin
|
||||
implementation deps.corektx
|
||||
// implementation deps.kotlin
|
||||
// implementation deps.corektx
|
||||
|
||||
implementation deps.easypermissions
|
||||
|
||||
|
||||
Binary file not shown.
@@ -6,13 +6,14 @@ buildscript {
|
||||
|
||||
repositories {
|
||||
google()
|
||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
classpath "com.android.tools.build:gradle:$versions.gralde"
|
||||
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
|
||||
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin"
|
||||
// classpath "com.novoda:bintray-release:$versions.bintray_release"
|
||||
classpath "com.vanniktech:gradle-maven-publish-plugin:$versions.mavenPublish"
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
@@ -23,6 +24,7 @@ buildscript {
|
||||
allprojects {
|
||||
repositories {
|
||||
google()
|
||||
maven { url 'https://maven.aliyun.com/repository/public/' }
|
||||
mavenCentral()
|
||||
// jcenter() // Warning: this repository is going to shut down soon
|
||||
}
|
||||
|
||||
@@ -58,9 +58,9 @@ test.espresso = "androidx.test.espresso:espresso-core:$versions.espresso"
|
||||
deps.test = test
|
||||
|
||||
|
||||
deps.kotlin = "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin"
|
||||
|
||||
deps.corektx = "androidx.core:core-ktx:$versions.coreKtx"
|
||||
//deps.kotlin = "org.jetbrains.kotlin:kotlin-stdlib:$versions.kotlin"
|
||||
//
|
||||
//deps.corektx = "androidx.core:core-ktx:$versions.coreKtx"
|
||||
|
||||
//zxing
|
||||
deps.zxing = "com.google.zxing:core:$versions.zxing"
|
||||
|
||||
Reference in New Issue
Block a user