Skip to content

Commit

Permalink
* Updated sample with 2 options to load the SDK (configure settings.g…
Browse files Browse the repository at this point in the history
…radle and app/build.gradle files) :

1. Locally
2. From jCenter
  • Loading branch information
pablogm committed Sep 7, 2015
1 parent 073b9ab commit eb57465
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
Binary file modified HelloVisualSearch/VSAumentia/VSAumentia.aar
Binary file not shown.
21 changes: 20 additions & 1 deletion HelloVisualSearch/app/build.gradle
Expand Up @@ -9,6 +9,7 @@ android {
targetSdkVersion 21
versionCode 1
versionName "1.0"
multiDexEnabled true
}
buildTypes {
release {
Expand All @@ -18,6 +19,18 @@ android {
}
productFlavors {
}

dexOptions {
incremental true
javaMaxHeapSize "2048M"
}

packagingOptions {
exclude 'AUTHORS'
exclude 'NOTICE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/NOTICE.txt'
}
}

repositories {
Expand All @@ -27,7 +40,13 @@ repositories {
}

dependencies {

compile 'com.android.support:support-v4:22.0.0'

// Option 1
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
compile project(':VSAumentia')

// Option 2
//compile 'VisualSearchSDK:visualsearchsdk:0.6.0'
}
2 changes: 1 addition & 1 deletion HelloVisualSearch/app/src/main/res/values/styles.xml
@@ -1,7 +1,7 @@
<resources>

<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="android:Theme.Holo.Light">
<!-- Customize your theme here. -->
</style>

Expand Down
2 changes: 1 addition & 1 deletion HelloVisualSearch/build.gradle
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
classpath 'com.android.tools.build:gradle:1.3.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 4 additions & 0 deletions HelloVisualSearch/settings.gradle
@@ -1 +1,5 @@
// Option 1
include ':app', ':VSAumentia'

// Option 2
//include ':app'

0 comments on commit eb57465

Please sign in to comment.