CypherpunkArmory / UserLAnd

Main UserLAnd Repository
Other
3.61k stars 399 forks source link

Add fully open source gradle flavor #1303

Open licaon-kter opened 4 years ago

licaon-kter commented 4 years ago

Ref: https://github.com/CypherpunkArmory/UserLAnd/pull/1270

Well, I could make PLAY_SERVICES=false and sed delete billing and play-services, but, as expected, it will fail.

2020-10-04 11:33:11,542 DEBUG: buildserver > > Task :app:kaptReleaseKotlin
2020-10-04 11:33:11,542 DEBUG: buildserver > 
2020-10-04 11:33:11,542 DEBUG: buildserver > > Task :app:compileReleaseKotlin FAILED
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (5, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (6, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (7, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (8, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (9, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (10, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (11, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (12, 12): Unresolved reference: android
2020-10-04 11:33:11,543 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (13, 12): Unresolved reference: android
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (14, 12): Unresolved reference: android
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (15, 12): Unresolved reference: android
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (26, 47): Unresolved reference: Purchase
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (27, 49): Unresolved reference: Purchase
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (28, 30): Unresolved reference: Purchase
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (32, 44): Unresolved reference: PurchasesUpdatedListener
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (32, 71): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (32, 86): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,544 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (34, 13): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (38, 29): Unresolved reference: Purchase
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (41, 69): Unresolved reference: AcknowledgePurchaseParams
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (44, 100): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (49, 29): Unresolved reference: Purchase
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (61, 13): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (66, 49): Unresolved reference: SkuDetails
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (68, 32): Unresolved reference: BillingClient
2020-10-04 11:33:11,545 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (68, 48): Unresolved reference: BillingClient
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (75, 29): Unresolved reference: SkuDetails
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (94, 64): Unresolved reference: BillingClient
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (95, 49): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (104, 60): Unresolved reference: BillingClient
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (105, 45): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (116, 34): Unresolved reference: BillingFlowParams
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (134, 52): Unresolved reference: BillingClientStateListener
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (135, 17): 'onBillingSetupFinished' overrides nothing
2020-10-04 11:33:11,546 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (135, 68): Unresolved reference: BillingResult
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (137, 55): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (143, 17): 'onBillingServiceDisconnected' overrides nothing
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (153, 82): Unresolved reference: SkuDetails
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (154, 22): Unresolved reference: SkuDetailsParams
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (154, 78): Unresolved reference: BillingClient
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (155, 62): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (155, 77): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,547 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (156, 47): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (164, 75): Unresolved reference: SkuDetails
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (165, 22): Unresolved reference: SkuDetailsParams
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (165, 78): Unresolved reference: BillingClient
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (166, 62): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (166, 77): Cannot infer a type for this parameter. Please specify it explicitly.
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (167, 47): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (176, 57): Unresolved reference: FeatureType
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (177, 38): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,548 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/BillingManager.kt: (180, 41): Unresolved reference: BillingResponseCode
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (14, 12): Unresolved reference: android
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (361, 39): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (365, 41): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (369, 22): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (373, 53): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (377, 55): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver > e: /home/vagrant/build/tech.ula/app/src/main/java/tech/ula/utils/UserPrompter.kt: (381, 43): Unresolved reference: Purchase
2020-10-04 11:33:11,549 DEBUG: buildserver >
2020-10-04 11:33:11,550 DEBUG: buildserver > FAILURE: Build failed with an exception.
2020-10-04 11:33:11,550 DEBUG: buildserver >
2020-10-04 11:33:11,550 DEBUG: buildserver > * What went wrong:
2020-10-04 11:33:11,550 DEBUG: buildserver > Execution failed for task ':app:compileReleaseKotlin'.
2020-10-04 11:33:11,550 DEBUG: buildserver > > Compilation error. See log for more details

...since all these libs need some sort of skeleton replacements.

Eg. https://github.com/M66B/FairEmail/blob/master/app/src/fdroid/java/eu/faircode/email/ActivityBilling.java

enforce-issue-templates[bot] commented 4 years ago

Hello @licaon-kter!

This message has been autogenerated.

It looks like you've posted an issue, but in order for us to best assist you, we need some additional information. We have created some issue templates to make this process easier. You can find them here.

These templates contain lines that begin with the '#' character. These lines are headers. In your issue, please leave these headers as is, and fill out information relevant to the header in the space below it.

If you don't think that you have any information relevant to the header, fill the space below it with something like 'N/A', or consider using a different template.

These headers are essential in allowing us to recreate and resolve your issue. The more detailed your issue, the more quickly we can begin working on it.

This bot could not detect which template you were trying to use. Please follow the link above to find a template to use.

If your issue is not updated to follow a template, it may be removed. If you edit your issue to follow a template, the bot will remove its comment.

Thanks for your help in improving UserLAnd!