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

Commit 0d1dbde

Browse files
committed
Configured Module build.gradle and added gitignore.
1 parent 74feb3f commit 0d1dbde

File tree

10 files changed

+26
-109
lines changed

10 files changed

+26
-109
lines changed

user-auth-ui/.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
*.iml
22
.gradle
33
/local.properties
4-
/.idea/workspace.xml
5-
/.idea/libraries
4+
/.idea
65
.DS_Store
76
/build
87
/captures
8+
9+
app/src/main/java/com/adobe/userauthui/Keys.java

user-auth-ui/.idea/.name

Lines changed: 0 additions & 1 deletion
This file was deleted.

user-auth-ui/.idea/compiler.xml

Lines changed: 0 additions & 22 deletions
This file was deleted.

user-auth-ui/.idea/copyright/profiles_settings.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

user-auth-ui/.idea/gradle.xml

Lines changed: 0 additions & 18 deletions
This file was deleted.

user-auth-ui/.idea/misc.xml

Lines changed: 0 additions & 35 deletions
This file was deleted.

user-auth-ui/.idea/modules.xml

Lines changed: 0 additions & 9 deletions
This file was deleted.

user-auth-ui/.idea/runConfigurations.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

user-auth-ui/.idea/vcs.xml

Lines changed: 0 additions & 6 deletions
This file was deleted.

user-auth-ui/app/build.gradle

Lines changed: 23 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.userauthui"
9-
minSdkVersion 16
12+
minSdkVersion 16 // Minimum is 16
1013
targetSdkVersion 23
1114
versionCode 1
1215
versionName "1.0"
@@ -17,11 +20,30 @@ 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'
2749
}

0 commit comments

Comments
 (0)