mirror of
https://gitlab.com/SoftwareTalent/FrasesDeAnime.git
synced 2026-02-15 01:31:34 +01:00
First release
This commit is contained in:
@@ -12,12 +12,13 @@ android {
|
||||
targetSdkVersion 26
|
||||
// Sube automáticamente la build en cada compilacion
|
||||
def versionPropsFile = file('versioncode.count')
|
||||
Properties versionProps = new Properties()
|
||||
def 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
|
||||
versionCode code
|
||||
versionName "1.0"
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
}
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":-1},"path":"app-release.apk","properties":{"packageId":"com.jkanetwork.st.com.jkanetwork.st.frasesdeanime","split":"","minSdkVersion":"17"}}]
|
||||
@@ -21,6 +21,6 @@ public class ExampleInstrumentedTest {
|
||||
// Context of the app under test.
|
||||
Context appContext = InstrumentationRegistry.getTargetContext();
|
||||
|
||||
assertEquals("com.jkanetwork.st.com.jkanetwork.st.frasesdeanime", appContext.getPackageName());
|
||||
assertEquals("com.jkanetwork.st.frasesdeanime", appContext.getPackageName());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -262,6 +262,14 @@ class SQLiteHelper(ctx: Context) : ManagedSQLiteOpenHelper(ctx, "otaku.sqlite",
|
||||
|
||||
}
|
||||
|
||||
|
||||
/** It returns to program that this sentence can't be seen */
|
||||
fun getSentenceCanBeSeen(year: Int,month: Int, day: Int): Boolean {
|
||||
//TODO, return 0 when if check this sentence will be "nothing", for disable button
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Access property for Context
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
#Sat Dec 02 21:22:52 CET 2017
|
||||
VERSION_CODE=830
|
||||
#Sat Dec 02 21:47:22 CET 2017
|
||||
VERSION_CODE=842
|
||||
|
||||
Reference in New Issue
Block a user