taxiapp/kurotool/build.gradle

89 lines
2.6 KiB
Groovy
Raw Normal View History

2022-09-23 11:55:44 +08:00
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.novoda.bintray-release'
android {
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
minSdkVersion 14
targetSdkVersion 29
versionCode 2
versionName "1.0.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
encoding "UTF-8"
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation "androidx.core:core-ktx:$core_ktx"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
//网络请求框架
api 'com.squareup.okio:okio:2.3.0'
api 'com.squareup.okhttp3:okhttp:4.1.0'
api 'com.squareup.retrofit2:retrofit:2.7.1'
api 'com.squareup.retrofit2:converter-scalars:2.7.1'
api 'com.squareup.okhttp3:logging-interceptor:4.3.1'
//Rxjava
api 'io.reactivex.rxjava2:rxjava:2.2.17'
api 'io.reactivex.rxjava2:rxandroid:2.1.1'
api 'com.squareup.retrofit2:adapter-rxjava2:2.7.1'
api 'com.squareup.retrofit2:converter-gson:2.7.1'
//material design
api 'com.google.android.material:material:1.1.0'
//下载
api 'com.liulishuo.filedownloader:library:1.7.5'
// api "com.liulishuo.okdownload:okdownload:$ok_download"
// api "com.liulishuo.okdownload:sqlite:$ok_download"
// api "com.liulishuo.okdownload:okhttp:$ok_download"
//// api "com.liulishuo.okdownload:filedownloader:$ok_download"
// api "com.liulishuo.okdownload:ktx:$ok_download"
// //kotlin协程
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.novoda:bintray-release:0.9.1'
}
}
publish {
userOrg = 'trs'
groupId = 'com.trs.kuroTool'
artifactId = 'kuroTool'
publishVersion = '1.0.4'
desc = 'include some tool for android '
website = 'https://github.com/Trans88/KuroTool'
}