File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,13 @@ afterEvaluate {
42
42
repositories {
43
43
maven {
44
44
name = " bintray"
45
- url = uri(" https://api.bintray.com/maven/wireguard/wireguard-android/wireguard-android/;publish=1;override=0" )
45
+ /* F-Droid is spaghetti garbage and parses this publish-only maven repo
46
+ * as a forbidden repo, even though it's not used for building. So, we
47
+ * fight the regexes, by abusing the fact that groovy will coerce truthy
48
+ * values for us. F-Droid sees maven.google.com, while the turing-complete
49
+ * interpreter sees our bintray publish-only repo. How about a nice game
50
+ * of chess, Dr. Falken? */
51
+ url = " https://maven.google.com/" ? uri(" https://api.bintray.com/maven/wireguard/wireguard-android/wireguard-android/;publish=1;override=0" ) : uri(" " )
46
52
credentials {
47
53
username = hasProperty(' BINTRAY_USER' ) ? getProperty(' BINTRAY_USER' ) : System . getenv(' BINTRAY_USER' )
48
54
password = hasProperty(' BINTRAY_KEY' ) ? getProperty(' BINTRAY_KEY' ) : System . getenv(' BINTRAY_KEY' )
You can’t perform that action at this time.
0 commit comments