mirror of
https://gitlab.com/SoftwareTalent/FrasesDeAnime.git
synced 2026-02-22 13:03:45 +01:00
Initial commit
This commit is contained in:
58
app/build.gradle
Normal file
58
app/build.gradle
Normal file
@@ -0,0 +1,58 @@
|
||||
apply plugin: 'com.android.application'
|
||||
apply plugin: 'kotlin-android' // apply kotlin android plugin
|
||||
apply plugin: 'kotlin-android-extensions'
|
||||
|
||||
def anko_version = '0.10.1'
|
||||
android {
|
||||
compileSdkVersion 26
|
||||
buildToolsVersion '26.0.2'
|
||||
defaultConfig {
|
||||
applicationId "com.jkanetwork.st.com.jkanetwork.st.frasesdeanime"
|
||||
minSdkVersion 17
|
||||
targetSdkVersion 26
|
||||
// Sube automáticamente la build en cada compilacion
|
||||
def versionPropsFile = file('versioncode.count')
|
||||
Properties versionProps = new Properties()
|
||||
versionProps.load(new FileInputStream(versionPropsFile))
|
||||
def code = versionProps['VERSION_CODE'].toInteger() + 1
|
||||
versionProps['VERSION_CODE'] = code.toString()
|
||||
versionProps.store(versionPropsFile.newWriter(), null)
|
||||
// Fin de subir automáticamente la build en cada compilación
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
productFlavors {
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs += 'src/main/kotlin'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(include: ['*.jar'], dir: 'libs')
|
||||
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
|
||||
exclude group: 'com.android.support', module: 'support-annotations'
|
||||
})
|
||||
compile 'com.android.support:appcompat-v7:26.1.0'
|
||||
compile 'com.android.support.constraint:constraint-layout:1.0.2'
|
||||
compile "org.jetbrains.anko:anko-sqlite:$anko_version"
|
||||
compile "org.jetbrains.anko:anko-commons:$anko_version"
|
||||
// Anko Layouts
|
||||
compile "org.jetbrains.anko:anko-sdk25:$anko_version"
|
||||
// sdk15, sdk19, sdk21, sdk23 are also available
|
||||
compile "org.jetbrains.anko:anko-appcompat-v7:$anko_version"
|
||||
// Coroutine listeners for Anko Layouts
|
||||
compile "org.jetbrains.anko:anko-sdk25-coroutines:$anko_version"
|
||||
compile "org.jetbrains.anko:anko-appcompat-v7-coroutines:$anko_version"
|
||||
compile 'com.github.mirrajabi:kotlin-preferences-extensions:1.0'
|
||||
compile 'com.android.support:recyclerview-v7:26.1.0'
|
||||
compile 'com.google.android.gms:play-services-ads:11.6.2'
|
||||
testCompile 'junit:junit:4.12'
|
||||
}
|
||||
Reference in New Issue
Block a user