KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a gradle project that has java applications as well as android applications. root/ build.gradle settings.gradle java1/ java2/ android1/ android2/ java3/ etc. What is the best practice for structuring my build script? I am a total gradle novice and am migrating the project from maven to gradle. I wanted to do something instead of configure(subprojects) {} to apply plugins and other specific things. such as configure(java1, java2, java3) { // java specifics } configure(android1, android2) { // android specifics } I am probably approaching this from the wrong way. More explicitly I need to apply the plugin java only for the java projects and the android plugin for the android projects.
Tags (comma-separated)
Save Edits
Cancel