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

Commit f6336194 authored by Alexandru Chircu's avatar Alexandru Chircu Committed by Romain Hunault
Browse files

31 implement firebase dynamic links

parent 9326461e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
[submodule "GmsApi"]
	path = extern/GmsApi
	url = https://gitlab.e.foundation/e/apps/GmsApi
	branch = master
	branch = dev
Compare 2a43448e to 09bf9494
Original line number Diff line number Diff line
Subproject commit 2a43448e49dc0aec0d6c53c8a27dd58245fdaba6
Subproject commit 09bf9494038ab53e0b86d8699db409b955fe3c0c
+1 −0
Original line number Diff line number Diff line
extern/GmsApi/firebase-dynamic-links-api
 No newline at end of file
+51 −0
Original line number Diff line number Diff line
/*
 * Copyright 2019 e Foundation
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

apply plugin: 'com.android.library'

String getMyVersionName() {
    def stdout = new ByteArrayOutputStream()
    if (rootProject.file("gradlew").exists())
        exec { commandLine 'git', 'describe', '--tags', '--always', '--dirty'; standardOutput = stdout }
    else // automatic build system, don't tag dirty
        exec { commandLine 'git', 'describe', '--tags', '--always'; standardOutput = stdout }
    return stdout.toString().trim().substring(1)
}

android {
    compileSdkVersion androidCompileSdk()
    buildToolsVersion "$androidBuildVersionTools"

    defaultConfig {
        versionName getMyVersionName()
        minSdkVersion androidMinSdk()
        targetSdkVersion androidTargetSdk()
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    lintOptions {
        disable 'InvalidPackage'
    }
}

dependencies {
    api project(':play-services-base')
    api project(':firebase-dynamic-links-api')
}
+34 −0
Original line number Diff line number Diff line
#
# Copyright 2019 e Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

POM_NAME=Firebase Dynamic LInks Library
POM_DESCRIPTION=The Firebase Library module to access the Dynamic Links API

POM_PACKAGING=aar

POM_URL=https://github.com/microg/android_external_GmsLib

POM_SCM_URL=https://github.com/microg/android_external_GmsLib
POM_SCM_CONNECTION=scm:git@github.com:microg/android_external_GmsLib.git
POM_SCM_DEV_CONNECTION=scm:git@github.com:microg/android_external_GmsLib.git

POM_LICENCE_NAME=The Apache Software License, Version 2.0
POM_LICENCE_URL=http://www.apache.org/licenses/LICENSE-2.0.txt
POM_LICENCE_DIST=repo

POM_DEVELOPER_ID=alexandruchircu
POM_DEVELOPER_NAME=Alexandru Chircu
Loading