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

Commit d2756066 authored by Jonathan Klee's avatar Jonathan Klee Committed by Nishith Khanna
Browse files

Introduce /e/OS location url endpoint

parent 530ce2c1
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
@@ -12,3 +12,7 @@ bin/
.output/
.settings/
*keystore
play-services-location/core/provider/.cxx/
play-services-location/core/provider/src/main/cpp/
play-services-location/core/provider/src/main/java/
credentials.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_PROD >> 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
Loading