This repository has been archived by the owner on Oct 2, 2021. It is now read-only.
forked from vanniktech/Emoji
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8,826 changed files
with
10,536 additions
and
10,590 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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,83 +1,79 @@ | ||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion as int | ||
buildToolsVersion rootProject.ext.buildToolsVersion as String | ||
|
||
compileOptions { | ||
sourceCompatibility rootProject.ext.javaVersion as JavaVersion | ||
targetCompatibility rootProject.ext.javaVersion as JavaVersion | ||
} | ||
|
||
defaultConfig { | ||
applicationId "com.vanniktech.emoji.sample" | ||
minSdkVersion rootProject.ext.minSdkVersion as int | ||
targetSdkVersion rootProject.ext.targetSdkVersion as int | ||
versionCode rootProject.ext.versionCode as int | ||
versionName rootProject.ext.versionName as String | ||
|
||
vectorDrawables.useSupportLibrary = true | ||
|
||
setProperty("archivesBaseName", "app-$versionName") | ||
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
def shouldSign = project.hasProperty('RELEASE_STORE_FILE') && project.hasProperty('RELEASE_STORE_PASSWORD') && project.hasProperty('RELEASE_KEY_ALIAS') && project.hasProperty('RELEASE_KEY_PASSWORD') | ||
|
||
if (shouldSign) { | ||
signingConfigs { | ||
release { | ||
// http://stackoverflow.com/a/21020469/1979703 | ||
storeFile file(RELEASE_STORE_FILE) | ||
storePassword RELEASE_STORE_PASSWORD | ||
keyAlias RELEASE_KEY_ALIAS | ||
keyPassword RELEASE_KEY_PASSWORD | ||
} | ||
} | ||
compileSdkVersion rootProject.ext.compileSdkVersion as int | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
defaultConfig { | ||
applicationId "com.vanniktech.emoji.sample" | ||
minSdkVersion rootProject.ext.minSdkVersion as int | ||
targetSdkVersion rootProject.ext.targetSdkVersion as int | ||
versionCode rootProject.ext.versionCode as int | ||
versionName rootProject.ext.versionName as String | ||
|
||
vectorDrawables.useSupportLibrary = true | ||
|
||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" | ||
} | ||
|
||
archivesBaseName = "app-$versionName" | ||
|
||
def shouldSign = project.hasProperty('RELEASE_STORE_FILE') && project.hasProperty('RELEASE_STORE_PASSWORD') && project.hasProperty('RELEASE_KEY_ALIAS') && project.hasProperty('RELEASE_KEY_PASSWORD') | ||
|
||
if (shouldSign) { | ||
signingConfigs { | ||
release { | ||
// http://stackoverflow.com/a/21020469/1979703 | ||
storeFile file(RELEASE_STORE_FILE) | ||
storePassword RELEASE_STORE_PASSWORD | ||
keyAlias RELEASE_KEY_ALIAS | ||
keyPassword RELEASE_KEY_PASSWORD | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
shrinkResources true | ||
zipAlignEnabled true | ||
|
||
if (shouldSign) { | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
|
||
debug { | ||
versionNameSuffix '-RC' | ||
} | ||
} | ||
|
||
buildTypes { | ||
release { | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | ||
shrinkResources true | ||
zipAlignEnabled true | ||
|
||
if (shouldSign) { | ||
signingConfig signingConfigs.release | ||
} | ||
} | ||
} | ||
} | ||
|
||
dependencies { | ||
compile project(':emoji-ios') | ||
compile project(':emoji-google') | ||
compile project(':emoji-google-compat') | ||
compile project(':emoji-twitter') | ||
compile project(':emoji-one') | ||
compile project(':emoji-kotlin') | ||
|
||
compile rootProject.ext.supportAppCompat | ||
compile rootProject.ext.supportRecyclerView | ||
compile rootProject.ext.supportEmojiBundled | ||
|
||
debugCompile rootProject.ext.leakCanaryDebug | ||
releaseCompile rootProject.ext.leakCanaryRelease | ||
|
||
androidTestCompile deps.support.test.espresso.core | ||
androidTestCompile deps.support.test.runner | ||
androidTestCompile deps.support.test.rules | ||
androidTestCompile deps.fastLaneScreenGrab | ||
implementation project(':emoji-ios') | ||
implementation project(':emoji-google') | ||
implementation project(':emoji-google-compat') | ||
implementation project(':emoji-twitter') | ||
implementation project(':emoji-one') | ||
implementation project(':emoji-kotlin') | ||
|
||
implementation rootProject.ext.supportAppCompat | ||
implementation rootProject.ext.supportRecyclerView | ||
implementation rootProject.ext.supportEmojiBundled | ||
|
||
debugImplementation rootProject.ext.leakCanaryDebug | ||
releaseImplementation rootProject.ext.leakCanaryRelease | ||
|
||
androidTestImplementation deps.support.test.espresso.core | ||
androidTestImplementation deps.support.test.runner | ||
androidTestImplementation deps.support.test.rules | ||
androidTestImplementation deps.fastLaneScreenGrab | ||
} | ||
|
||
configurations.all { | ||
resolutionStrategy { | ||
force rootProject.ext.supportAnnotations | ||
} | ||
resolutionStrategy { | ||
force rootProject.ext.supportAnnotations | ||
} | ||
} |
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,2 @@ | ||
-dontwarn kotlin.** | ||
-dontwarn org.jetbrains.annotations.** |
Oops, something went wrong.