Skip to content

Commit

Permalink
Update maven artifact release version
Browse files Browse the repository at this point in the history
Fix broken compilation build error
  • Loading branch information
ndegwamartin committed Mar 5, 2018
1 parent 03c716a commit a7859ae
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION_NAME=1.2.1-SNAPSHOT
VERSION_NAME=1.2.1
VERSION_CODE=2
GROUP=org.smartregister
POM_SETTING_DESCRIPTION=OpenSRP Client Immunization
Expand Down
6 changes: 3 additions & 3 deletions opensrp-immunization/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ android {

dependencies {
compile 'junit:junit:4.12'
compile('org.smartregister:opensrp-client-core:1.2.1-SNAPSHOT@aar') {
compile('org.smartregister:opensrp-client-core:1.2.0@aar') {
transitive = true
exclude group: 'com.github.bmelnychuk', module: 'atv'
}
compile('org.smartregister:opensrp-client-native-form:1.0.0-SNAPSHOT@aar') {
compile('org.smartregister:opensrp-client-native-form:1.0.2@aar') {
transitive = true
exclude group: 'com.android.support', module: 'recyclerview-v7'
}
Expand Down Expand Up @@ -137,4 +137,4 @@ coveralls {
}


apply from: '../maven.gradle'
apply from: '../maven.gradle'
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,12 @@
import org.joda.time.DateTime;
import org.json.JSONException;
import org.json.JSONObject;
import org.opensrp.api.domain.Location;
import org.opensrp.api.util.EntityUtils;
import org.opensrp.api.util.LocationTree;
import org.opensrp.api.util.TreeNode;
import org.smartregister.commonregistry.CommonPersonObject;
import org.smartregister.domain.Alert;
import org.smartregister.domain.AlertStatus;
import org.smartregister.domain.jsonmapping.Location;
import org.smartregister.domain.jsonmapping.util.LocationTree;
import org.smartregister.domain.jsonmapping.util.TreeNode;
import org.smartregister.immunization.ImmunizationLibrary;
import org.smartregister.immunization.R;
import org.smartregister.immunization.db.VaccineRepo;
Expand All @@ -62,6 +61,7 @@
import org.smartregister.immunization.fragment.UndoVaccinationDialogFragment;
import org.smartregister.immunization.fragment.VaccinationDialogFragment;
import org.smartregister.immunization.repository.RecurringServiceRecordRepository;
import org.smartregister.util.AssetHandler;
import org.smartregister.util.IntegerUtil;

import java.lang.reflect.Type;
Expand Down Expand Up @@ -93,7 +93,7 @@ public static HashMap<String, String> providerDetails() {
org.smartregister.util.Log.logDebug("TEAM DETAILS" + getPreference(context.applicationContext(), "team", "{}"));

String locationJson = context.anmLocationController().get();
LocationTree locationTree = EntityUtils.fromJson(locationJson, LocationTree.class);
LocationTree locationTree = AssetHandler.jsonStringToJava(locationJson, LocationTree.class);

HashMap<String, String> map = new HashMap<>();

Expand Down
2 changes: 1 addition & 1 deletion sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ android {

dependencies {
testCompile 'junit:junit:4.12'
compile('org.smartregister:opensrp-client-core:1.0.0-SNAPSHOT@aar') {
compile('org.smartregister:opensrp-client-core:1.2.0-SNAPSHOT@aar') {
transitive = true
exclude group: 'com.github.bmelnychuk', module: 'atv'
}
Expand Down

0 comments on commit a7859ae

Please sign in to comment.