| | |
| | | plugins { |
| | | id 'com.android.library' |
| | | } |
| | | |
| | | def rootPath = rootProject.getRootDir().getAbsolutePath() |
| | | def channelPath = "${rootPath}/channel/${CHANNEL_NAME}" |
| | | |
| | |
| | | def channelJavaFiles = getAllFiles(new ArrayList<File>(), "${channelPath}/java") |
| | | |
| | | android { |
| | | compileSdkVersion 29 |
| | | buildToolsVersion "28.0.1" |
| | | compileSdkVersion 30 |
| | | buildToolsVersion "30.0.0" |
| | | |
| | | defaultConfig { |
| | | minSdkVersion 21 |
| | | targetSdkVersion 29 |
| | | targetSdkVersion 28 |
| | | versionCode 1 |
| | | versionName "1.0" |
| | | |
| | | // testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| | | consumerProguardFiles "consumer-rules.pro" |
| | | multiDexEnabled true |
| | | } |
| | | |
| | | |
| | | flavorDimensions "version" |
| | | productFlavors { |
| | |
| | | } |
| | | } |
| | | compileOptions { |
| | | sourceCompatibility JavaVersion.VERSION_1_8 |
| | | targetCompatibility JavaVersion.VERSION_1_8 |
| | | sourceCompatibility JavaVersion.VERSION_11 |
| | | targetCompatibility JavaVersion.VERSION_11 |
| | | } |
| | | packagingOptions {exclude 'META-INF/rxjava.properties'} |
| | | lintOptions { |
| | | checkReleaseBuilds false |
| | | abortOnError false |
| | |
| | | } |
| | | |
| | | dependencies { |
| | | implementation 'androidx.annotation:annotation:1.1.0' |
| | | implementation 'androidx.core:core:1.3.2' |
| | | testImplementation 'junit:junit:4.13.2' |
| | | // implementation 'com.android.support:support-annotations:28.0.0' |
| | | // testImplementation 'junit:junit:4.13.2' |
| | | |
| | | //noinspection GradleCompatible |
| | | // implementation 'com.android.support:appcompat-v7:28.0.0' |
| | | |
| | | // implementation 'com.github.pqpo:Log4a:1.4.2@aar' |
| | | |
| | | implementation fileTree(dir: "../channel/${CHANNEL_NAME}/libs/", include: ['*.jar']) |
| | | plugins.each { |