| 1234567891011121314151617181920212223242526272829303132 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion 28
- defaultConfig {
- minSdkVersion 16
- targetSdkVersion 28
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version") {
- exclude module: 'annotations'
- }
- }
- // jcenter 上传(这个要在底部)
- // 上传需要执行此任务 IDE -> gradle-> Tasks/publishing/bintrayUpload
- apply from: file("publish.gradle")
|