Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Commit

Permalink
Adds squareup.otto, which fails on Android deps
Browse files Browse the repository at this point in the history
  • Loading branch information
advayDev1 committed Sep 26, 2015
1 parent 3f25683 commit 2785dbe
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ os: osx
env:
- TEST_DIR=gson
- TEST_DIR=joda-primitives
- TEST_DIR=joda-convert
- TEST_DIR=joda-time
- TEST_DIR=apache-commons-lang3
- TEST_DIR=apache-commons-collections4
# Put expected failures at the end.
- TEST_DIR=joda-convert
- TEST_DIR=joda-time
- TEST_DIR=apache-commons-math3
- TEST_DIR=squareup-otto

matrix:
allow_failures:
Expand All @@ -22,6 +24,8 @@ matrix:
- env: TEST_DIR=joda-time
# Requires geometry support from java.awt and also java.net.
- env: TEST_DIR=apache-commons-math3
# Requires android.os.Looper
- env: TEST_DIR=squareup-otto

branches:
only:
Expand Down
3 changes: 2 additions & 1 deletion libraryBuilds/run-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ set -ev
./run-test.sh joda-primitives
./run-test.sh apache-commons-lang3
./run-test.sh apache-commons-collections4
./run-test.sh apache-commons-math3
./run-test.sh squareup-otto

# May fail.
./run-test.sh joda-convert
./run-test.sh joda-time
./run-test.sh apache-commons-math3
1 change: 1 addition & 0 deletions libraryBuilds/squareup-otto/build.gradle
1 change: 1 addition & 0 deletions libraryBuilds/squareup-otto/gradlew
1 change: 1 addition & 0 deletions libraryBuilds/squareup-otto/local.properties
1 change: 1 addition & 0 deletions libraryBuilds/squareup-otto/settings.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include ':squareup-otto'
27 changes: 27 additions & 0 deletions libraryBuilds/squareup-otto/squareup-otto/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/*
* Copyright (c) 2015 the authors of j2objc-common-libs-e2e-test
*
* 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.
*/

dependencies {
j2objcTranslation 'com.squareup:otto:1.3.8:sources'
}

j2objcConfig {
filenameCollisionCheck false

// Almost always there are no tests provided in an external source jar.
testMinExpectedTests 0
finalConfigure()
}

0 comments on commit 2785dbe

Please sign in to comment.