2021-08-27 13:06:02 +02:00
|
|
|
/*
|
|
|
|
* Nextcloud Geofavorites for Android
|
|
|
|
*
|
|
|
|
* 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 <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 30
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "it.danieleverducci.nextcloudmaps"
|
2021-08-27 16:55:26 +02:00
|
|
|
minSdkVersion 23
|
2021-08-27 13:06:02 +02:00
|
|
|
targetSdkVersion 30
|
2021-09-10 09:45:46 +02:00
|
|
|
versionCode 2
|
|
|
|
versionName "0.2"
|
2021-08-27 13:06:02 +02:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2021-08-28 17:14:07 +02:00
|
|
|
|
|
|
|
buildFeatures {
|
|
|
|
dataBinding true
|
|
|
|
}
|
2021-08-27 13:06:02 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
// Needed for Nextcloud SSO
|
|
|
|
maven { url "https://jitpack.io" }
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
|
|
|
|
implementation 'com.android.support:design:30.0.1'
|
2021-09-12 08:32:23 +02:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
2021-08-27 13:06:02 +02:00
|
|
|
implementation "androidx.cardview:cardview:1.0.0"
|
2021-09-12 08:32:23 +02:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
|
2021-08-27 13:06:02 +02:00
|
|
|
implementation "androidx.preference:preference:1.1.1"
|
|
|
|
|
2021-09-12 08:32:23 +02:00
|
|
|
testImplementation 'junit:junit:4.13.2'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
2021-08-27 13:06:02 +02:00
|
|
|
|
|
|
|
// Retrofif2
|
|
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
|
|
|
|
|
|
|
|
// Nextcloud SSO
|
|
|
|
implementation "com.github.nextcloud:Android-SingleSignOn:0.5.6"
|
2021-09-14 09:27:30 +02:00
|
|
|
|
|
|
|
// OSMDroid
|
2021-09-15 20:26:29 +02:00
|
|
|
implementation 'org.osmdroid:osmdroid-android:6.1.10'
|
|
|
|
|
|
|
|
//Threeten-Backport (ports Java 8 Date API on Java 6+)
|
|
|
|
implementation 'org.threeten:threetenbp:1.5.1'
|
2021-09-14 09:27:30 +02:00
|
|
|
|
2021-08-27 13:06:02 +02:00
|
|
|
}
|