Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86faf94f authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Introduce /e/OS location url endpoint

parent 0ade9a96
Loading
Loading
Loading
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
+4 −0
Original line number Diff line number Diff line
@@ -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"
@@ -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:
@@ -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

+4 −0
Original line number Diff line number Diff line
@@ -33,6 +33,8 @@ buildscript {

    ext.androidBuildVersionTools = '34.0.0'

    ext.hiddenSecretVersion = '0.2.1'

    ext.androidMinSdk = 21
    ext.androidTargetSdk = 29
    ext.androidCompileSdk = 34
@@ -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"
    }
}

+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
+2 −0
Original line number Diff line number Diff line
@@ -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,
@@ -179,6 +180,7 @@ object SettingsContract {
            CELL_LEARNING,
            GEOCODER_NOMINATIM,
            ICHNAEA_ENDPOINT,
            LOCATION_FROM_E
        )
    }

Loading