2020-08-16 11:30:59 +02:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 29
|
|
|
|
buildToolsVersion "29.0.3"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "de.valentin.colorconsistency"
|
|
|
|
minSdkVersion 24
|
|
|
|
targetSdkVersion 29
|
|
|
|
versionCode 1
|
|
|
|
versionName "1.0"
|
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
2020-09-25 11:32:34 +02:00
|
|
|
compileOptions {
|
|
|
|
// This library uses Java 8 features, this is required
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
maven { url 'https://jitpack.io' }
|
2020-08-16 11:30:59 +02:00
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(dir: "libs", include: ["*.jar"])
|
|
|
|
implementation 'androidx.appcompat:appcompat:1.1.0'
|
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
|
2020-09-25 11:32:34 +02:00
|
|
|
implementation 'com.android.support:palette-v7:29.0.0'
|
2021-04-23 12:05:21 +02:00
|
|
|
implementation 'org.jetbrains:annotations:19.0.0'
|
2020-08-16 11:30:59 +02:00
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
2021-04-23 12:05:21 +02:00
|
|
|
implementation 'com.crossbowffs.remotepreferences:remotepreferences:0.7'
|
2020-09-25 11:32:34 +02:00
|
|
|
|
|
|
|
|
|
|
|
def libsuVersion = '3.0.2'
|
|
|
|
|
|
|
|
// The core module is used by all other components
|
|
|
|
implementation "com.github.topjohnwu.libsu:core:${libsuVersion}"
|
2020-08-16 11:30:59 +02:00
|
|
|
|
2020-09-25 11:32:34 +02:00
|
|
|
// Optional: APIs for creating root services
|
|
|
|
// implementation "com.github.topjohnwu.libsu:service:${libsuVersion}"
|
|
|
|
|
|
|
|
// Optional: For com.topjohnwu.superuser.io classes
|
|
|
|
implementation "com.github.topjohnwu.libsu:io:${libsuVersion}"
|
|
|
|
|
|
|
|
// Optional: Bundle prebuilt BusyBox binaries
|
|
|
|
// implementation "com.github.topjohnwu.libsu:busybox:${libsuVersion}"
|
2021-04-23 12:05:21 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
implementation 'com.jayway.jsonpath:json-path:2.4.0'
|
|
|
|
|
|
|
|
implementation 'com.pddstudio:earthview-android:1.2.0'
|
|
|
|
|
2020-09-25 11:32:34 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
|
|
|
google()
|
|
|
|
jcenter()
|
2021-04-23 12:05:21 +02:00
|
|
|
mavenCentral()
|
2020-09-25 11:32:34 +02:00
|
|
|
}
|
2021-04-23 12:05:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|