Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Commit 381ed00

Browse files
committed
Configured Module build.gradle.
1 parent e140f0e commit 381ed00

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

send-to-desktop-api/app/build.gradle

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
apply plugin: 'com.android.application'
22

3+
/* 1) Apply the Gradle Retrolambda Plugin */
4+
apply plugin: 'me.tatarka.retrolambda'
5+
36
android {
47
compileSdkVersion 23
58
buildToolsVersion "23.0.2"
69

710
defaultConfig {
811
applicationId "com.adobe.sendtodesktopapi"
9-
minSdkVersion 16
12+
minSdkVersion 16 // Minimum is 16
1013
targetSdkVersion 23
1114
versionCode 1
1215
versionName "1.0"
@@ -17,11 +20,31 @@ android {
1720
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
1821
}
1922
}
23+
24+
/* 2) Compile for Java 1.8 or greater */
25+
compileOptions {
26+
sourceCompatibility JavaVersion.VERSION_1_8
27+
targetCompatibility JavaVersion.VERSION_1_8
28+
}
29+
30+
/* 3) Exclude duplicate licenses */
31+
packagingOptions {
32+
exclude 'META-INF/LICENSE.txt'
33+
exclude 'META-INF/LICENSE'
34+
exclude 'META-INF/NOTICE.txt'
35+
exclude 'META-INF/NOTICE'
36+
exclude 'META-INF/DEPENDENCIES'
37+
pickFirst 'AndroidManifest.xml'
38+
}
2039
}
2140

2241
dependencies {
2342
compile fileTree(dir: 'libs', include: ['*.jar'])
2443
testCompile 'junit:junit:4.12'
2544
compile 'com.android.support:appcompat-v7:23.1.1'
2645
compile 'com.android.support:design:23.1.1'
46+
47+
/* 4) Add the CSDK framework dependencies (Make sure these version numbers are correct) */
48+
compile 'com.adobe.creativesdk.foundation:auth:0.9.7'
49+
2750
}

0 commit comments

Comments
 (0)