Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common Gradle Config for Android Library Modules #9

Merged
merged 1 commit into from Mar 13, 2019
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+22 −113
Diff settings

Always

Just for now

Copy path View file
@@ -0,0 +1,15 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
@@ -1,18 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation Libs.support_annotations
@@ -1,18 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation Libs.support_annotations
@@ -1,18 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation Libs.support_annotations
Copy path View file
@@ -1,25 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
api project(Modules.mockData)
Copy path View file
@@ -1,19 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation project(Modules.models)
Copy path View file
@@ -1,18 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation Libs.support_annotations
Copy path View file
@@ -1,18 +1,4 @@
apply plugin: 'com.android.library'
apply plugin: 'kotlin-android'

android {
compileSdkVersion Versions.compile_sdk

defaultConfig {
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode 1
versionName "1.0"

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
}
apply from: "$rootProject.projectDir/android-library.gradle"

dependencies {
implementation Libs.kotlin_std_lib
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.