-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Update README.md * update gitignore file to ignore idea cache and modules files * create default values to the needed keys in order to allow building out of the box
- Loading branch information
Showing
3 changed files
with
107 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,100 +1,100 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-android-extensions' | ||
apply plugin: 'kotlin-kapt' | ||
apply plugin: 'io.fabric' | ||
|
||
android { | ||
compileSdkVersion 28 | ||
buildToolsVersion '28.0.3' | ||
defaultConfig { | ||
applicationId "com.b_lam.resplash" | ||
minSdkVersion 22 | ||
targetSdkVersion 28 | ||
versionCode 23 | ||
versionName "1.3.3" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
buildConfigField("String", "RELEASE_APP_ID", RELEASE_APP_ID) | ||
buildConfigField("String", "RELEASE_SECRET", RELEASE_SECRET) | ||
buildConfigField("String", "DEV_APP_ID", DEV_APP_ID) | ||
buildConfigField("String", "DEV_SECRET", DEV_SECRET) | ||
buildConfigField("String", "GOOGLE_PLAY_LICENSE_KEY", GOOGLE_PLAY_LICENSE_KEY) | ||
|
||
javaCompileOptions { | ||
annotationProcessorOptions { | ||
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] | ||
} | ||
} | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
debuggable false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
debug { | ||
debuggable true | ||
applicationIdSuffix ".debug" | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
lintOptions { | ||
disable 'MissingTranslation' | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01' | ||
implementation 'androidx.fragment:fragment:1.1.0-alpha03' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3' | ||
implementation 'androidx.preference:preference:1.1.0-alpha02' | ||
implementation 'androidx.room:room-runtime:2.1.0-alpha04' | ||
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' | ||
implementation 'androidx.cardview:cardview:1.0.0' | ||
implementation 'com.google.android.material:material:1.1.0-alpha03' | ||
implementation 'com.squareup.retrofit2:retrofit:2.5.0' | ||
implementation 'com.google.code.gson:gson:2.8.5' | ||
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | ||
implementation 'com.squareup.okhttp3:okhttp:3.12.1' | ||
implementation 'com.github.bumptech.glide:glide:4.8.0' | ||
implementation 'com.github.chrisbanes:PhotoView:2.2.0' | ||
implementation 'com.mikepenz:materialdrawer:6.1.1' | ||
implementation 'com.mikepenz:fastadapter:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-commons:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-extensions-expandable:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-extensions:3.3.1' | ||
implementation 'com.mikepenz:materialize:1.2.0' | ||
implementation 'com.jakewharton:butterknife:10.0.0' | ||
implementation 'com.github.clans:fab:1.6.4' | ||
implementation 'com.romandanylyk:pageindicatorview:1.0.3' | ||
implementation 'com.airbnb.android:lottie:3.0.0-beta1' | ||
implementation 'org.ocpsoft.prettytime:prettytime:4.0.1.Final' | ||
implementation 'com.google.firebase:firebase-core:16.0.6' | ||
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8' | ||
|
||
kapt 'com.jakewharton:butterknife-compiler:10.0.0' | ||
kapt 'com.github.bumptech.glide:compiler:4.8.0' | ||
kapt "androidx.lifecycle:lifecycle-compiler:2.0.0" | ||
kapt 'androidx.room:room-compiler:2.1.0-alpha04' | ||
|
||
testImplementation 'junit:junit:4.12' | ||
} | ||
|
||
kapt { | ||
generateStubs = true | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-android-extensions' | ||
apply plugin: 'kotlin-kapt' | ||
apply plugin: 'io.fabric' | ||
|
||
android { | ||
compileSdkVersion 28 | ||
buildToolsVersion '28.0.3' | ||
defaultConfig { | ||
applicationId "com.b_lam.resplash" | ||
minSdkVersion 22 | ||
targetSdkVersion 28 | ||
versionCode 23 | ||
versionName "1.3.3" | ||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | ||
buildConfigField("String", "RELEASE_APP_ID", project.RELEASE_APP_ID) | ||
buildConfigField("String", "RELEASE_SECRET", project.RELEASE_SECRET) | ||
buildConfigField("String", "DEV_APP_ID", project.DEV_APP_ID) | ||
buildConfigField("String", "DEV_SECRET", project.DEV_SECRET) | ||
buildConfigField("String", "GOOGLE_PLAY_LICENSE_KEY", project.GOOGLE_PLAY_LICENSE_KEY) | ||
|
||
javaCompileOptions { | ||
annotationProcessorOptions { | ||
arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] | ||
} | ||
} | ||
} | ||
buildTypes { | ||
release { | ||
minifyEnabled false | ||
debuggable false | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
} | ||
debug { | ||
debuggable true | ||
applicationIdSuffix ".debug" | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
lintOptions { | ||
disable 'MissingTranslation' | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
google() | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(include: ['*.jar'], dir: 'libs') | ||
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', { | ||
exclude group: 'com.android.support', module: 'support-annotations' | ||
}) | ||
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" | ||
implementation 'androidx.appcompat:appcompat:1.1.0-alpha01' | ||
implementation 'androidx.fragment:fragment:1.1.0-alpha03' | ||
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3' | ||
implementation 'androidx.preference:preference:1.1.0-alpha02' | ||
implementation 'androidx.room:room-runtime:2.1.0-alpha04' | ||
implementation 'androidx.lifecycle:lifecycle-extensions:2.0.0' | ||
implementation 'androidx.cardview:cardview:1.0.0' | ||
implementation 'com.google.android.material:material:1.1.0-alpha03' | ||
implementation 'com.squareup.retrofit2:retrofit:2.5.0' | ||
implementation 'com.google.code.gson:gson:2.8.5' | ||
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | ||
implementation 'com.squareup.okhttp3:okhttp:3.12.1' | ||
implementation 'com.github.bumptech.glide:glide:4.8.0' | ||
implementation 'com.github.chrisbanes:PhotoView:2.2.0' | ||
implementation 'com.mikepenz:materialdrawer:6.1.1' | ||
implementation 'com.mikepenz:fastadapter:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-commons:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-extensions-expandable:3.3.1' | ||
implementation 'com.mikepenz:fastadapter-extensions:3.3.1' | ||
implementation 'com.mikepenz:materialize:1.2.0' | ||
implementation 'com.jakewharton:butterknife:10.0.0' | ||
implementation 'com.github.clans:fab:1.6.4' | ||
implementation 'com.romandanylyk:pageindicatorview:1.0.3' | ||
implementation 'com.airbnb.android:lottie:3.0.0-beta1' | ||
implementation 'org.ocpsoft.prettytime:prettytime:4.0.1.Final' | ||
implementation 'com.google.firebase:firebase-core:16.0.6' | ||
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.8' | ||
|
||
kapt 'com.jakewharton:butterknife-compiler:10.0.0' | ||
kapt 'com.github.bumptech.glide:compiler:4.8.0' | ||
kapt "androidx.lifecycle:lifecycle-compiler:2.0.0" | ||
kapt 'androidx.room:room-compiler:2.1.0-alpha04' | ||
|
||
testImplementation 'junit:junit:4.12' | ||
} | ||
|
||
kapt { | ||
generateStubs = true | ||
} | ||
|
||
apply plugin: 'com.google.gms.google-services' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
RELEASE_APP_ID="" | ||
RELEASE_SECRET="" | ||
DEV_APP_ID="" | ||
DEV_SECRET="" | ||
GOOGLE_PLAY_LICENSE_KEY="" |