Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
38 lines
No EOL
945 B
Text
38 lines
No EOL
945 B
Text
plugins {
|
|
`kotlin-dsl`
|
|
// kotlin("jvm") version "2.1.0"
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
register("testGenerator") {
|
|
id = "test-generator"
|
|
implementationClass = "com.example.TestGeneratorPlugin"
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
/*
|
|
val checkEmojiKeyboard by tasks.registering(GenerateSchemeTask::class) {
|
|
|
|
}
|
|
*/
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
|
|
compilerOptions {
|
|
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9)
|
|
apiVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9)
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(gradleApi())
|
|
|
|
implementation("com.squareup.moshi:moshi:1.15.0")
|
|
implementation("com.squareup.moshi:moshi-kotlin:1.15.0")
|
|
implementation("com.github.javaparser:javaparser-core:3.25.4")
|
|
implementation("com.squareup:kotlinpoet:1.15.0")
|
|
} |