I'm having some trouble making sense of the gradle system for Android.
I'm having a project in IDEA with two modules. An Android module (not maven or something else) and a standard web module for my PHP code.
I want to migrate to Gradle but first I don't know if Gradle can be inside of a module or needs to be set as a project. If it's set as a project can I import there my PHP module somehow?
Also, is there any guide on how to migrate? Following this (http://tools.android.com/tech-docs/new-build-system/migrating-from-intellij-projects) got me nowhere. I have a build.gradle with all of the lines being red.