Created
September 6, 2019 07:18
-
-
Save quickbirdstudios-eng/a27197d22b6c9dad350fb9ac16167f78 to your computer and use it in GitHub Desktop.
This file contains hidden or 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