This repository has been archived by the owner on May 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add rules for icepick, bundles, android-dart, okhttp, okio and retrofit.
- Loading branch information
Showing
10 changed files
with
66 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Rules for Dart https://github.com/f2prateek/android-dart | ||
-dontwarn com.f2prateek.dart.internal.** | ||
-keep class **$$ExtraInjector { *; } | ||
-keepnames class * { @com.f2prateek.dart.InjectExtra *;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Rules for the bundles @Frozen and @Argument annotations https://bitbucket.org/hvisser/bundles | ||
-dontwarn com.neenbedankt.bundles.processor.** | ||
-dontwarn com.squareup.javawriter.JavaWriter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Rules for Icepick https://github.com/frankiesardo/icepick | ||
-dontwarn icepick.** | ||
-keep class **$$Icicle { *; } | ||
-keepnames class * { @icepick.Icicle *;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Rules for OkHttp http://square.github.io/okhttp/ | ||
-dontwarn com.squareup.okhttp.internal.** | ||
# Okio | ||
-dontwarn org.codehaus.mojo.animal_sniffer.** | ||
-dontwarn java.nio.file.Files | ||
-dontwarn java.nio.file.Path | ||
-dontwarn java.nio.file.OpenOption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Rules for Okio https://github.com/square/okio/ | ||
-dontwarn org.codehaus.mojo.animal_sniffer.** | ||
-dontwarn java.nio.file.Files | ||
-dontwarn java.nio.file.Path | ||
-dontwarn java.nio.file.OpenOption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Rules for Retrofit | ||
-dontwarn retrofit.RxSupport | ||
-dontwarn retrofit.RxSupport$* | ||
-dontwarn retrofit.appengine.** | ||
-dontwarn retrofit.client.OkClient | ||
-dontwarn retrofit.RestMethodInfo$RxSupport |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
verification/src/main/java/nl/littlerobots/squadleader/verification/RetrofitTester.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package nl.littlerobots.squadleader.verification; | ||
|
||
import retrofit.http.GET; | ||
|
||
public interface RetrofitTester { | ||
@GET("/test") | ||
public String test(); | ||
} |