2
0
mirror of https://github.com/KDE/kdeconnect-android synced 2025-09-03 07:35:08 +00:00

Added some comments in build.gradle

This commit is contained in:
Albert Vaca
2016-05-19 09:38:24 -07:00
parent e96f520829
commit ddef90b985

View File

@@ -10,20 +10,21 @@ buildscript {
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
android { android {
compileSdkVersion 23
buildToolsVersion '23.0.2' buildToolsVersion '23.0.2'
compileOptions { compileSdkVersion 23
// Use Java 1.7, requires minSdk 8 defaultConfig {
sourceCompatibility JavaVersion.VERSION_1_7 minSdkVersion 9
targetCompatibility JavaVersion.VERSION_1_7 targetSdkVersion 22 //Bumping to 23 means we have to support the new permissions model
multiDexEnabled true
} }
dexOptions { dexOptions {
javaMaxHeapSize "4g" javaMaxHeapSize "4g"
} }
defaultConfig { compileOptions {
minSdkVersion 9 // Use Java 1.7, requires minSdk 8
targetSdkVersion 22 //SSHD requires mina when running on JDK < 7
multiDexEnabled true sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
} }
sourceSets { sourceSets {
main { main {
@@ -51,7 +52,7 @@ android {
checkReleaseBuilds false checkReleaseBuilds false
} }
buildTypes { buildTypes {
release { release { //keep on 'releae', set to 'all' when testing to make sure proguard is not deleting important stuff
minifyEnabled true minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'),'proguard-rules.pro'
} }
@@ -62,11 +63,11 @@ dependencies {
repositories { repositories {
mavenCentral() mavenCentral()
} }
compile 'com.android.support:support-v4:23.2.0' compile 'com.android.support:support-v4:23.2.1'
compile 'com.android.support:appcompat-v7:23.2.0' compile 'com.android.support:appcompat-v7:23.2.1'
compile 'com.android.support:design:23.2.0' compile 'com.android.support:design:23.2.1'
compile 'org.apache.sshd:sshd-core:0.8.0' compile 'org.apache.sshd:sshd-core:0.8.0' //0.9 seems to fail on Android 6 and 1.+ requires java.nio.file, which doesn't exist in Android
//compile 'org.bouncycastle:bcprov-jdk15on:1.54' //compile 'org.bouncycastle:bcprov-jdk15on:1.54'
compile 'com.madgag.spongycastle:pkix:1.54.0.0' compile 'com.madgag.spongycastle:pkix:1.54.0.0'