I have a strange problem with Android/Gradle. For some reason different tasks are being picked up by Circle than on my local machine. Here is what I see on CircleCI:
init - Initializes a new Gradle build. [incubating] wrapper - Generates Gradle wrapper files. [incubating] buildEnvironment - Displays all buildscript dependencies declared in root project 'jdgroup-android'. components - Displays the components produced by root project 'jdgroup-android'. [incubating] dependencies - Displays all dependencies declared in root project 'jdgroup-android'. dependencyInsight - Displays the insight into a specific dependency in root project 'jdgroup-android'. dependentComponents - Displays the dependent components of components in root project 'jdgroup-android'. [incubating] help - Displays a help message. model - Displays the configuration model of root project 'jdgroup-android'. [incubating] projects - Displays the sub-projects of root project 'jdgroup-android'. properties - Displays the properties of root project 'jdgroup-android'. tasks - Displays the tasks runnable from root project 'jdgroup-android' (some of the displayed tasks may belong to subprojects)
Here is an excerpt of what I see locally:
androidDependencies - Displays the Android dependencies of the project. signingReport - Displays the signing info for each variant. sourceSets - Prints out all the source sets defined in this project. assemble - Assembles all variants of all applications and secondary packages. assembleAndroidTest - Assembles all the Test applications.
I don’t understand why they are different. I have checked in the gradlew folder, but for some reason it is not picking it up. I have other Android projects that are library projects and these work OK.
Any ideas would be really helpful.