feat: Random.org dice and daily word matrix, interpreter voices, curated lexicon
Wire cleromancy rolls and the once-per-UTC-day 000-999 word shuffle to RANDOM.ORG JSON-RPC, with a local CSPRNG fallback. Add settings for interpreter personas and a cleaner default oracle prompt. Replace proper names and bureaucratic filler in the 1000-word lexicon with sacred symbols.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<application
|
||||
android:label="Оракул 999"
|
||||
android:name="${applicationName}"
|
||||
|
||||
+19
-12
@@ -15,24 +15,31 @@ subprojects {
|
||||
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
|
||||
project.layout.buildDirectory.value(newSubprojectBuildDir)
|
||||
}
|
||||
subprojects {
|
||||
project.evaluationDependsOn(":app")
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
rootProject.subprojects.forEach { proj ->
|
||||
val android = proj.extensions.findByName("android") ?: return@forEach
|
||||
try {
|
||||
android.javaClass.getMethod("setCompileSdk", Int::class.javaPrimitiveType).invoke(android, 36)
|
||||
} catch (_: Throwable) {
|
||||
subprojects {
|
||||
afterEvaluate {
|
||||
val android = extensions.findByName("android")
|
||||
if (android != null) {
|
||||
try {
|
||||
android.javaClass.getMethod("setCompileSdkVersion", Int::class.javaPrimitiveType).invoke(android, 36)
|
||||
} catch (_: Throwable) {
|
||||
}
|
||||
android.javaClass.getMethod("setCompileSdkVersion", Int::class.javaPrimitiveType).invoke(android, 34)
|
||||
} catch (e: Throwable) {}
|
||||
try {
|
||||
android.javaClass.getMethod("setCompileSdk", Int::class.javaPrimitiveType).invoke(android, 34)
|
||||
} catch (e: Throwable) {}
|
||||
try {
|
||||
android.javaClass.getMethod("compileSdkVersion", Int::class.javaPrimitiveType).invoke(android, 34)
|
||||
} catch (e: Throwable) {}
|
||||
try {
|
||||
android.javaClass.getMethod("compileSdkVersion", String::class.java).invoke(android, "android-34")
|
||||
} catch (e: Throwable) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
subprojects {
|
||||
project.evaluationDependsOn(":app")
|
||||
}
|
||||
|
||||
tasks.register<Delete>("clean") {
|
||||
delete(rootProject.layout.buildDirectory)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user