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

Commit f5b9775

Browse files
committed
Configured Module build.gradle.
1 parent 142801f commit f5b9775

File tree

2 files changed

+49
-2
lines changed

2 files changed

+49
-2
lines changed

getting-started/.idea/misc.xml

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

getting-started/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.gettingstarted"
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+
}
39+
2040
}
2141

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

0 commit comments

Comments
 (0)