Skip to content

Instantly share code, notes, and snippets.

@kangzhang
Created November 7, 2017 15:27
Show Gist options
  • Save kangzhang/ad2b99d5ea2e492370efc09707fa40f0 to your computer and use it in GitHub Desktop.
Save kangzhang/ad2b99d5ea2e492370efc09707fa40f0 to your computer and use it in GitHub Desktop.
diff --git a/demo/build.gradle b/demo/build.gradle
index f7e692b..b480690 100644
--- a/demo/build.gradle
+++ b/demo/build.gradle
@@ -9,6 +9,12 @@ buildscript {
}
}
+allprojects {
+ repositories {
+ maven { url 'https://jitpack.io' }
+ }
+}
+
apply plugin: 'com.android.application'
dependencies {
diff --git a/demo/igmodel/build.gradle b/demo/igmodel/build.gradle
index f6d2ea3..16d7d6f 100644
--- a/demo/igmodel/build.gradle
+++ b/demo/igmodel/build.gradle
@@ -1,8 +1,8 @@
apply plugin: 'com.android.library'
dependencies {
- annotationProcessor project(':processor')
- implementation project(':common')
+ annotationProcessor 'com.github.kangzhang.ig-json-parser:processor:specify_json_dep-SNAPSHOT'
+ implementation 'com.github.kangzhang.ig-json-parser:runtime:specify_json_dep-SNAPSHOT'
}
android {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment