Closed Vishwa4jeet closed 5 years ago
@Vishwa4jeet Please attach a run log demonstrating that all of this still works correctly. Then we can merge this excellent PR.
@Vishwa4jeet Please attach a run log demonstrating that all of this still works correctly. Then we can merge this excellent PR.
Attached in PR description.
Based on review comment: https://github.com/Huawei-PaaS/DCAP-Sapphire-Examples/pull/66#discussion_r271095288
Created a common Gradle file at root level which takes care of tasks which are common to the amino system, like:
genStubs, compileStubs, runoms, runks
With this change, the oms and ks for apps, can be directly run from the root directory using the command:
./gradlew :minnieTwitter:subprojects:runoms
./gradlew :minnieTwitter:subprojects:runks
The path above consists of
:appname:subprojects
since, android apps in the repo use both the android and java plugins. Ideally both these plugins cannot be applied at the same level. To avoid this issue apps in their current form use the android plugin at the root level and manage java plugin and all its related tasks under the subproject level.Additionally this PR also has renaming of the MinnieTwitter app from (Minnie-Twitter -> minnieTwitter).
Fixes #75
./gradlew build
log:Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 46s 164 actionable tasks: 161 executed, 3 up-to-date