Skip to content

Commit

Permalink
Fix lint square/okio#58
Browse files Browse the repository at this point in the history
  • Loading branch information
SUPERCILEX committed Nov 12, 2016
1 parent 7d95476 commit 85e4a39
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,6 @@ before_script:
- ./setup.sh
script: ./build.sh
after_success: ./upload.sh
after_failure: cat app/build/outputs/lint-results.xml app/build/outputs/lint-results.html
after_failure:
- cat app/build/outputs/lint-results.xml
- app/build/outputs/lint-results.html
19 changes: 9 additions & 10 deletions app/lint-baseline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,8 @@
<issue
id="InvalidPackage"
message="Invalid package reference in library; not included in Android: `java.nio.file`. Referenced from `okio.Okio`.">
<location
file="$HOME/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.8.0/5ea7af56cc7c567ed9856d99efb30740e9b17ff/okio-1.8.0.jar"/>
</issue>

<issue
id="InvalidPackage">
<location
file="$HOME/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/retrofit/2.1.0/2de7cd8b95b7021b1d597f049bcb422055119f2c/retrofit-2.1.0.jar"/>
<location
file="$HOME/.gradle/caches/modules-2/files-2.1/com.squareup.okio/okio/1.8.0/5ea7af56cc7c567ed9856d99efb30740e9b17ff/okio-1.8.0.jar"/>
<ignore regexp="okio-1.8.0.jar" />
<ignore regexp="retrofit-2.1.0.jar" />
</issue>

<issue
Expand All @@ -38,6 +30,13 @@
file="app/src/main/res/drawable-hdpi"/>
</issue>

<issue
id="IconMissingDensityFolder"
message="Missing density variation folders in `src/main/res`: drawable-hdpi, drawable-xhdpi, drawable-xxhdpi, drawable-xxxhdpi">
<location
file="app/src/main/res"/>
</issue>

<issue
id="IconDensities"
message="Missing the following drawables in `drawable-xhdpi`: launch_logo.png (found in drawable-mdpi)">
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#suppress inspection "UnusedProperty" for whole file
#Fri Nov 11 17:57:48 PST 2016
#Fri Nov 11 18:18:13 PST 2016
org.gradle.jvmargs=-Xmx2048m
VERSION_CODE=2086
VERSION_CODE=2088
android.enableBuildCache=true

0 comments on commit 85e4a39

Please sign in to comment.