Created
November 25, 2019 20:28
-
-
Save martinbonnin/55be6486ca384e9e4bbaf9980b9b8d22 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
// buildSrc/build.gradle.kts | |
repositories { | |
mavenCentral() | |
google() | |
} | |
dependencies { | |
// add all your plugins artifacts here | |
classpath("com.android.tools.build:gradle:3.5.2") | |
classpath("com.squareup.sqldelight:gradle-plugin:1.2.0") | |
// ... | |
} | |
// build.gradle.kts | |
plugins { | |
// load the plugins but do not apply them to the root project | |
id("com.android.application").apply(false) | |
id("com.squareup.sqldelight").apply(false) | |
} | |
// app/build.gradle.kts | |
plugins { | |
// ... | |
id("com.android.application") | |
} | |
// lib/build.gradle.kts | |
plugins { | |
// ... | |
id("com.squareup.sqldelight") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment