Skip to content

Commit cde0c9f

Browse files
committed
build: add convention plugins for the app and libraries
1 parent 0258b11 commit cde0c9f

File tree

118 files changed

+127
-27
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+127
-27
lines changed

.idea/gradle.xml

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/kotlinc.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
plugins {
2+
`kotlin-dsl`
3+
}
4+
5+
6+
repositories {
7+
mavenCentral()
8+
google()
9+
}
10+
11+
dependencies {
12+
compileOnly(lib.android.gradle.plugin)
13+
}
14+
15+
gradlePlugin {
16+
/**
17+
* Register convention plugins so they are available in the build scripts of the application
18+
*/
19+
plugins {
20+
register("conventionAndroidLib") {
21+
id = "io.monstarlab.mosaic.library"
22+
implementationClass = "io.monstarlab.mosaic.plugins.AndroidLibConvention"
23+
}
24+
25+
register("conventionAndroidApp") {
26+
id = "io.monstarlab.mosaic.application"
27+
implementationClass = "io.monstarlab.mosaic.plugins.AndroidAppConvention"
28+
}
29+
}
30+
}
Binary file not shown.

0 commit comments

Comments
 (0)