71 lines
2.0 KiB
Groovy
71 lines
2.0 KiB
Groovy
|
/*
|
||
|
* Copyright (C) 2022 E FOUNDATION
|
||
|
*
|
||
|
* This program is free software: you can redistribute it and/or modify
|
||
|
* it under the terms of the GNU General Public License as published by
|
||
|
* the Free Software Foundation, either version 3 of the License, or
|
||
|
* (at your option) any later version.
|
||
|
*
|
||
|
* This program is distributed in the hope that it will be useful,
|
||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
* GNU General Public License for more details.
|
||
|
*
|
||
|
* You should have received a copy of the GNU General Public License
|
||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||
|
*/
|
||
|
|
||
|
plugins {
|
||
|
id 'com.android.application'
|
||
|
id 'org.jetbrains.kotlin.android'
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion buildConfig.compileSdk
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "foundation.e.privacymodules.fakelocationdemo"
|
||
|
minSdkVersion buildConfig.minSdk
|
||
|
targetSdkVersion buildConfig.targetSdk
|
||
|
|
||
|
versionCode buildConfig.version.code
|
||
|
versionName buildConfig.version.name
|
||
|
|
||
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||
|
}
|
||
|
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||
|
}
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_17
|
||
|
targetCompatibility JavaVersion.VERSION_17
|
||
|
}
|
||
|
kotlinOptions {
|
||
|
jvmTarget = '17'
|
||
|
allWarningsAsErrors = false
|
||
|
}
|
||
|
buildFeatures {
|
||
|
dataBinding true
|
||
|
}
|
||
|
namespace 'foundation.e.privacymodules.fakelocationdemo'
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation project(':core')
|
||
|
implementation project(':fakelocation')
|
||
|
implementation project(':permissionsstandalone')
|
||
|
|
||
|
|
||
|
implementation (
|
||
|
libs.androidx.core.ktx,
|
||
|
libs.androidx.appcompat,
|
||
|
libs.google.material,
|
||
|
)
|
||
|
testImplementation libs.junit
|
||
|
|
||
|
}
|