G
G
Golovko Nikolai2017-03-22 16:51:02
gradle
Golovko Nikolai, 2017-03-22 16:51:02

Gradle subprojects independent of each other?

There is a project. It has 4 subprojects - android, ios, common and server.
android and ios depend on common. server does not depend on anything. But when you try to build only the server
./gradlew :server:build
, the configuration is still executed for all subprojects

./gradlew :server:build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html.
Defining custom 'clean' task when using the standard Gradle lifecycle plugins has been deprecated and is scheduled to be removed in Gradle 3.0
google-services plugin could not detect any version for com.google.android.gms or com.google.firebase, default version: 9.0.0 will be used.
please apply google-services plugin at the bottom of the build file.
> Configuring > 3/5 projects

etc.
Accordingly, when trying to deploy and build the server, dependencies for all subprojects are checked.
I'm trying to run a server on heroku, and since there are no necessary tools for building android and ios projects (and not needed), I can't build the server.
Is there a solution to this problem? Or is it necessary to create a separate repository?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question