Loading .aiexclude 0 → 100644 +3 −0 Original line number Diff line number Diff line # Protect the local API keys from being upload by Android Studio # to feed Gemini for AI *.properties .gitlab-ci.yml +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ before_script: - echo stadia.key $STADIA_KEY >> local.properties - echo modules.hms false >> local.properties - echo ichnaea.endpoint $ICHNAEA_ENDPOINT >> local.properties - echo key=$LOCATION_TOTP_SECRET >> credentials.properties - echo url=$LOCATION_ENDPOINT_URL >> credentials.properties - echo "${KEYSTORE}" | base64 -d > play-services-core/e.keystore - export TERM=dumb - export JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -Xmx4096m" Loading @@ -45,6 +47,7 @@ build: - *default_before_script - echo modules.nearby false >> local.properties script: - ./gradlew hideSecretFromPropertiesFile -PpropertiesFileName=credentials.properties -Ppackage=com.google.android.gms - ./gradlew assembleDebug - ./gradlew assembleRelease artifacts: Loading @@ -62,6 +65,7 @@ build-nearby: - *default_before_script - echo modules.nearby true >> local.properties script: - ./gradlew hideSecretFromPropertiesFile -PpropertiesFileName=credentials.properties -Ppackage=com.google.android.gms - ./gradlew assembleDebug - ./gradlew assembleRelease Loading build.gradle +4 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,8 @@ buildscript { ext.androidBuildVersionTools = '34.0.0' ext.hiddenSecretVersion = '0.2.1' ext.androidMinSdk = 21 ext.androidTargetSdk = 29 ext.androidCompileSdk = 34 Loading @@ -55,12 +57,14 @@ buildscript { mavenCentral() google() maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven'} maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath "com.android.tools.build:gradle:$androidBuildGradleVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "com.squareup.wire:wire-gradle-plugin:$wireVersion" classpath "com.klaxit.hiddensecrets:HiddenSecretsPlugin:$hiddenSecretVersion" } } Loading gradle.properties +1 −0 Original line number Diff line number Diff line android.useAndroidX=true org.gradle.jvmargs=-Xmx4096m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED play-services-base/core/src/main/kotlin/org/microg/gms/settings/SettingsContract.kt +2 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,7 @@ object SettingsContract { const val CELL_LEARNING = "location_cell_learning" const val GEOCODER_NOMINATIM = "location_geocoder_nominatim" const val ICHNAEA_ENDPOINT = "location_ichnaea_endpoint" const val LOCATION_FROM_E = "location_ichnaea_from_e" val PROJECTION = arrayOf( WIFI_ICHNAEA, Loading @@ -179,6 +180,7 @@ object SettingsContract { CELL_LEARNING, GEOCODER_NOMINATIM, ICHNAEA_ENDPOINT, LOCATION_FROM_E ) } Loading Loading
.aiexclude 0 → 100644 +3 −0 Original line number Diff line number Diff line # Protect the local API keys from being upload by Android Studio # to feed Gemini for AI *.properties
.gitlab-ci.yml +4 −0 Original line number Diff line number Diff line Loading @@ -27,6 +27,8 @@ before_script: - echo stadia.key $STADIA_KEY >> local.properties - echo modules.hms false >> local.properties - echo ichnaea.endpoint $ICHNAEA_ENDPOINT >> local.properties - echo key=$LOCATION_TOTP_SECRET >> credentials.properties - echo url=$LOCATION_ENDPOINT_URL >> credentials.properties - echo "${KEYSTORE}" | base64 -d > play-services-core/e.keystore - export TERM=dumb - export JAVA_OPTS="-XX:+HeapDumpOnOutOfMemoryError -Xmx4096m" Loading @@ -45,6 +47,7 @@ build: - *default_before_script - echo modules.nearby false >> local.properties script: - ./gradlew hideSecretFromPropertiesFile -PpropertiesFileName=credentials.properties -Ppackage=com.google.android.gms - ./gradlew assembleDebug - ./gradlew assembleRelease artifacts: Loading @@ -62,6 +65,7 @@ build-nearby: - *default_before_script - echo modules.nearby true >> local.properties script: - ./gradlew hideSecretFromPropertiesFile -PpropertiesFileName=credentials.properties -Ppackage=com.google.android.gms - ./gradlew assembleDebug - ./gradlew assembleRelease Loading
build.gradle +4 −0 Original line number Diff line number Diff line Loading @@ -33,6 +33,8 @@ buildscript { ext.androidBuildVersionTools = '34.0.0' ext.hiddenSecretVersion = '0.2.1' ext.androidMinSdk = 21 ext.androidTargetSdk = 29 ext.androidCompileSdk = 34 Loading @@ -55,12 +57,14 @@ buildscript { mavenCentral() google() maven { url 'https://gitlab.e.foundation/api/v4/groups/9/-/packages/maven'} maven { url 'https://plugins.gradle.org/m2/' } } dependencies { classpath "com.android.tools.build:gradle:$androidBuildGradleVersion" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion" classpath "com.squareup.wire:wire-gradle-plugin:$wireVersion" classpath "com.klaxit.hiddensecrets:HiddenSecretsPlugin:$hiddenSecretVersion" } } Loading
gradle.properties +1 −0 Original line number Diff line number Diff line android.useAndroidX=true org.gradle.jvmargs=-Xmx4096m -XX:+UseParallelGC --add-exports=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED
play-services-base/core/src/main/kotlin/org/microg/gms/settings/SettingsContract.kt +2 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,7 @@ object SettingsContract { const val CELL_LEARNING = "location_cell_learning" const val GEOCODER_NOMINATIM = "location_geocoder_nominatim" const val ICHNAEA_ENDPOINT = "location_ichnaea_endpoint" const val LOCATION_FROM_E = "location_ichnaea_from_e" val PROJECTION = arrayOf( WIFI_ICHNAEA, Loading @@ -179,6 +180,7 @@ object SettingsContract { CELL_LEARNING, GEOCODER_NOMINATIM, ICHNAEA_ENDPOINT, LOCATION_FROM_E ) } Loading