Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 49b21fd

Browse files
author
Clément Le Provost
committed
Remove flavors
I could not get the publishing to Maven to work properly with flavors. -> Removing them from the time being. We’ll have to find another way for the offline mode.
1 parent 0465d46 commit 49b21fd

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

algoliasearch/build.gradle

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,13 @@ android {
4444
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
4545
}
4646
}
47-
defaultPublishConfig "onlineRelease"
48-
publishNonDefault true
49-
productFlavors {
50-
// The regular online API client.
51-
online
52-
// The offline-enabled API client, adding offline features on top of the online client.
53-
// NOTE: Requires Algolia's SDK.
54-
// NOTE: Disabled so far.
55-
// offline
56-
}
5747
}
5848

5949
apply from: 'android-release-jar.gradle'
6050

6151
dependencies {
6252
compile 'com.android.support:appcompat-v7:21.0.3'
6353
compile fileTree(include: ['*.jar'], dir: 'libs')
64-
// TODO: Switch to published version.
65-
// offlineCompile project(path: ':algoliasearchsdk', configuration: 'debug')
6654

6755
testCompile "junit:junit:4.12"
6856
testCompile "org.assertj:assertj-core:1.7.0"

0 commit comments

Comments
 (0)