Created
September 9, 2019 08:36
-
-
Save LizzieStudeneer/6f8789cb4d374f1d98481e018aa971c4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// BluesquarePlugin.kt | |
open class BluesquarePlugin : Plugin<Project> { | |
override fun apply(project: Project) { | |
project.configurePlugins() | |
project.configureAndroid() | |
project.configureDependencies() | |
} | |
} | |
//Plugins.kt | |
internal fun Project.configurePlugins() { | |
plugins.apply("com.android.library") | |
plugins.apply("org.gradle.maven-publish") // or anything else, that you would like to load | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment