I create a simple project and then I right-click on the project and then I use the make mudole app option. Now I have two build.gradle folders: 1-
make mudole app
build.gradle
in file... build.gradle(Project: XXX):
repositories{ //put pluging repository here //e.g.: mavenCentral() } dependencies{ //classpath to plugin here classpath 'com.XXXX.xXXxxXX.XXXX' }
in file.... build.gradle(Module: app)
//add on top: apply plugin: 'com.YOUR.PLUGIN.XXX'