build.gradle 1.91 KB
Newer Older
1 2
plugins {
    id 'com.android.library'
刘鹏 committed
3

4
}
刘鹏 committed
5 6 7 8
apply plugin: 'kotlin-android'

apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
9
apply from: 'publish.gradle'
刘鹏 committed
10

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
android {
    compileSdkVersion rootProject.ext.android["compileSdkVersion"]
    buildToolsVersion rootProject.ext.android["buildToolsVersion"]
    defaultConfig {
        minSdkVersion rootProject.ext.android["minSdkVersion"]
        targetSdkVersion rootProject.ext.android["targetSdkVersion"]
        versionCode 1
        versionName "1.0"
    }

    buildTypes {
        release {
            minifyEnabled false
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

}

dependencies {
    api fileTree(include: ['*.jar','*.aar'], dir: 'libs')
刘鹏 committed
35 36 37 38
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

    implementation(rootProject.ext.dependencies["support-multidex"])
    implementation(rootProject.ext.dependencies["recyclerview-v7"])
39
    implementation(rootProject.ext.dependencies["appcompat-v7"])
刘鹏 committed
40 41 42 43 44 45 46 47
    implementation(rootProject.ext.dependencies["design"])
    implementation(rootProject.ext.dependencies["constraint-layout"])
    implementation(rootProject.ext.dependencies["appcompat-v7"])
    implementation(rootProject.ext.dependencies["constraint-layout"])
    implementation(rootProject.ext.dependencies["okhttp3-logging"])
    implementation(rootProject.ext.dependencies["retrofit-converter-gson"])
    implementation(rootProject.ext.dependencies["retrofit"])
    implementation(rootProject.ext.dependencies["okhttp3"])
48
    implementation(rootProject.ext.dependencies["glide"])
刘鹏 committed
49
    implementation(rootProject.ext.dependencies["gson"])
50
    implementation(rootProject.ext.dependencies["eventbus"])
刘鹏 committed
51 52

    implementation "com.blankj:utilcode:1.25.9"
刘鹏 committed
53 54
    api "com.tencent.liteav:LiteAVSDK_TRTC:10.1.0.11109"
    api "com.tencent.imsdk:imsdk-plus:6.3.2609"
55 56

}