Skip to content

Commit

Permalink
WD| Setup landing page. #4
Browse files Browse the repository at this point in the history
  • Loading branch information
baksosapi committed Nov 6, 2017
1 parent 5df8c7d commit 9dde746
Show file tree
Hide file tree
Showing 732 changed files with 38,341 additions and 68,768 deletions.
17 changes: 17 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Open Smart Register Platform (OpenSRP), formerly Dristhi software

Copyright 2012-present

Foundation for Research in Health Systems; Sustainable Engineering Lab; Columbia University; and The Special Programme of Research,
Development and Research Training in Human Reproduction (HRP) of the World Health Organization; Ona; mPower Social Enterprise Bangladesh;
Interactive Health Solutions; Summit Institute of Development; Interactive Research and Development; Johns Hopkins University Global
mHealth Institute; Harvard University School of Public Health

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may
obtain a copy of the License at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
and limitations under the License.
5 changes: 2 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
configure(allprojects) { project ->

buildscript {
repositories {
jcenter()
Expand Down Expand Up @@ -36,10 +35,10 @@ subprojects {
maven { url "http://repo.maven.apache.org/maven2" }
maven { url "http://cloudant.github.io/cloudant-sync-eap/repository" }
maven {
url "${projectDir}/opensrp-facial-recognition/../libs/"
url "${projectDir}/opensrp-path/../libs/"
}
maven {
url "${projectDir}/opensrp-facial-recognition-it/../libs/"
url "${projectDir}/opensrp-path-it/../libs/"
}
mavenLocal()
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
8 changes: 6 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
#Fri Nov 03 15:44:22 WITA 2017
#Tue Jun 30 10:30:31 WITA 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-2.3-all.zip
org.gradle.daemon=true
org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8
org.gradle.parallel=true
org.gradle.configureondemand=true
10 changes: 7 additions & 3 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ case "`uname`" in
;;
esac

# For Cygwin, ensure paths are in UNIX format before anything is touched.
if $cygwin ; then
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
fi

# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
Expand All @@ -56,9 +61,9 @@ while [ -h "$PRG" ] ; do
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
cd "`dirname \"$PRG\"`/" >&-
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
cd "$SAVED" >&-

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar

Expand Down Expand Up @@ -109,7 +114,6 @@ fi
if $cygwin ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`

# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
Expand Down
90 changes: 0 additions & 90 deletions gradlew.bat

This file was deleted.

1 change: 1 addition & 0 deletions opensrp-bidan/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/reports
27 changes: 8 additions & 19 deletions opensrp-bidan/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath "com.android.tools.build:gradle:2.3.2"
classpath "com.android.tools.build:gradle:1.2.3"
classpath 'org.apache.commons:commons-lang3:3.3.2'
classpath 'org.robolectric:robolectric-gradle-plugin:1.1.0'
classpath 'io.fabric.tools:gradle:1.+'
Expand Down Expand Up @@ -41,9 +41,6 @@ android {
versionCode 10
versionName "1.3.1"
multiDexEnabled true
ndk{
abiFilters "armeabi"
}
}

dexOptions {
Expand All @@ -70,7 +67,7 @@ android {
}

debug {
resValue "string", 'opensrp_url', '"http://46.101.51.199:8080/opensrp"'
resValue "string", 'opensrp_url', '"http://192.168.1.253:8080/opensrp"'
buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '250'
buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '100'
buildConfigField "int", "OPENMRS_UNIQUE_ID_SOURCE", '2'
Expand Down Expand Up @@ -110,6 +107,12 @@ dependencies {
transitive = true
exclude group: 'com.github.bmelnychuk', module: 'atv'
}
compile('org.smartregister:opensrp-client-immunization:1.1.4-SNAPSHOT@aar') {
transitive = true
}
compile('org.smartregister:opensrp-client-growth-monitoring:1.0.3-SNAPSHOT@aar') {
transitive = true
}

compile('com.android.support:design:22.2.1') {
exclude group: 'com.android.support', module: 'recyclerview-v7'
Expand All @@ -128,8 +131,6 @@ dependencies {
compile 'com.github.ybq:Android-SpinKit:1.1.0'
compile 'junit:junit:4.12'

compile 'com.flurry.android:analytics:7.2.3'

testCompile('org.robolectric:robolectric:3.4.2') {

exclude group: 'com.google.guava', module: 'guava'
Expand Down Expand Up @@ -160,18 +161,6 @@ dependencies {
testCompile 'org.apache.maven:maven-ant-tasks:2.1.3'
}

// Local dependencies
repositories {
mavenCentral()
flatDir {
dirs 'libs'
}
}

dependencies {
//compile (name : 'opensrp-facial-recognition-debug', ext:'aar')
}

//Testing and coveralls

coveralls {
Expand Down
3 changes: 0 additions & 3 deletions opensrp-bidan/fabric.properties

This file was deleted.

5 changes: 5 additions & 0 deletions opensrp-bidan/fabric.properties.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This is a sample of how the fabric.properties file looks like
# The fabric.properties file should automatically be generated by
# the Fabric plugin on Android Studio. Login to the Fabric console
# online to obtain the apiSecret, if plugin is not available
apiSecret=[Replace with Fabric account API secret]
Binary file added opensrp-bidan/libs/commons-validator-1.6.jar
Binary file not shown.
4 changes: 4 additions & 0 deletions opensrp-bidan/lint.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<lint>
<issue id="InvalidPackage" severity="ignore"/>
</lint>
30 changes: 30 additions & 0 deletions opensrp-bidan/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

<modelVersion>4.0.0</modelVersion>

<groupId>org.opensrp</groupId>
<artifactId>opensrp-path</artifactId>
<version>1.1.5</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>

<build>
<plugins>
<plugin>
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
<configuration>
<jacocoReports>
<param>${project.basedir}/reports/jacoco/merged.xml</param>
</jacocoReports>
</configuration>
</plugin>
</plugins>
</build>
</project>
16 changes: 6 additions & 10 deletions opensrp-bidan/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# By default, the flags in this file are appended to flags specified
# in D:\adt-bundle-windows-x86_64-20130514\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.smartregister.path;

import android.app.Application;
import android.test.ApplicationTestCase;

/**
* <a href="http://d.android.com/tools/testing/testing_android.html">Testing Fundamentals</a>
*/
public class ApplicationTest extends ApplicationTestCase<Application> {
public ApplicationTest() {
super(Application.class);
}
}
Loading

0 comments on commit 9dde746

Please sign in to comment.