Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ language: android
android:
components:
- tools
#- platform-tools
- build-tools-23.0.2
- build-tools-25.0.2
- android-23
- extra-android-m2repository
#- extra-google-m2repository

jdk:
- oraclejdk8
Expand All @@ -27,10 +25,7 @@ cache:
- $HOME/.android/build-cache

before_install:
- chmod +x gradlew
- chmod +x travis/snapshot.sh
- chmod +x travis/release.sh
- export GRADLE_OPTS="-Dorg.gradle.daemon=false -XX:MaxPermSize=512m -Xmx2048m $GRADLE_OPTS"
- export GRADLE_OPTS="-Dorg.gradle.daemon=false -Xmx3072m $GRADLE_OPTS"
- export DEFAULT_JVM_OPTS=

install: true
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# emp3-android
[![Build Status](https://travis-ci.org/missioncommand/emp3-android.svg?branch=master)](https://travis-ci.org/missioncommand/emp3-android)
[![Download](https://api.bintray.com/packages/missioncommand/maven/emp3-android/images/download.svg)](https://bintray.com/missioncommand/maven/emp3-android/_latestVersion)

## About
Extensible Map Platform (EMP) Android development kit
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ext {
android_minSdkVersion = 19
android_targetSdkVersion = 23
android_compileSdkVersion = 23
android_buildToolsVersion = "23.0.2"
android_buildToolsVersion = "25.0.2"
}

group = "mil.army.missioncommand"
Expand All @@ -41,10 +41,8 @@ repositories {
password empPassword
}
}
repositories {
maven {
url "https://dl.bintray.com/missioncommand/maven/"
}
maven {
url "https://dl.bintray.com/missioncommand/maven/"
}
maven {
url "https://oss.jfrog.org/artifactory/libs-snapshot"
Expand Down Expand Up @@ -74,7 +72,7 @@ dependencyManagement {
}

task wrapper(type: Wrapper, description: "Generates gradlew[.bat] scripts") {
gradleVersion = '3.4'
gradleVersion = '3.4.1'
}

if (JavaVersion.current().isJava8Compatible()) { // disable lint for java8
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'com.netflix.nebula:nebula-publishing-plugin:4.9.1'
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:3.1.0'
classpath 'org.ajoberstar:grgit:1.7.0'
Expand Down
2 changes: 1 addition & 1 deletion gradle/bintray.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ artifactory {

bintray {
dryRun = false
publish = false
publish = true
override = false

user = bintrayUser
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Feb 23 12:25:16 EST 2017
#Mon Mar 06 10:56:43 EST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.4.1-all.zip
7 changes: 2 additions & 5 deletions sdk/sdk-view/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,10 @@ publishing {
}

android {
def version_sec_renderer = dependencyManagement.importedProperties['version_renderer']
def version_sec_cmapi = dependencyManagement.importedProperties['version_cmapi']

// Add sec renderer id and version information to BuildConfig to be retrieved by About class.
buildTypes.each {
it.buildConfigField "String", "Implementation_Sec_Renderer_Id", "\"sec.web.renderer:mil-sym-android-renderer ${version_sec_renderer}\""
it.buildConfigField "String", "Implementation_Sec_Cmapi_Id", "\"org.cmapi.primitives:common-map-geospatial-notation ${version_sec_cmapi}\""
it.buildConfigField "String", "Implementation_Sec_Renderer_Id", "\"sec.web.renderer:mil-sym-android-renderer ${version_renderer}\""
it.buildConfigField "String", "Implementation_Sec_Cmapi_Id", "\"org.cmapi.primitives:common-map-geospatial-notation ${version_cmapi}\""
}

lintOptions {
Expand Down
2 changes: 1 addition & 1 deletion travis/release.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ -n $TRAVIS_TAG ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then

RELEASE_BRANCH=release/$TRAVIS_TAG

git config user.name "Travis CI"
git config user.name "missioncommand-bot"
git config user.email "builds@travis-ci.com"
git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"

Expand Down
Empty file modified travis/snapshot.sh
100644 → 100755
Empty file.