123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- apply plugin: 'com.android.library'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- kapt {
- arguments {
- arg("moduleName", project.getName())
- }
- }
- android {
- compileSdkVersion target_sdk_version
- buildToolsVersion build_tools_version
- defaultConfig {
- minSdkVersion min_sdk_version
- targetSdkVersion target_sdk_version
- versionCode app_version_code
- versionName app_version
- dataBinding {
- enabled = true
- }
- }
- lintOptions {
- abortOnError false
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- sourceSets {
- main.java.srcDirs += 'src/main/code'
- }
- kapt {
- generateStubs = true
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- testCompile 'junit:junit:4.12'
- //androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
- // exclude group: 'com.android.support', module: 'support-annotations'
- //})
- compile project(':common')
- compile project(':resource')
- /**
- * Dagger编译依赖
- */
- kapt 'com.google.dagger:dagger-compiler:2.7'
- /**
- * 路由注解处理器
- */
- kapt "com.enation.geamtear:jrouter-compiler:$router_version"
- /**
- * constraint-layout布局依赖
- */
- //implementation 'com.android.support.constraint:constraint-layout:2.0.1'
- implementation 'com.fasterxml.jackson.core:jackson-databind:2.9.5'
- implementation 'io.swagger:swagger-annotations:1.5.14'
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
- //implementation 'com.github.tiann:FreeReflection:3.1.0'
- }
|