forked from micronaut-projects/micronaut-rabbitmq
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
39 lines (32 loc) · 1022 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
classpath "io.micronaut.build.internal:micronaut-gradle-plugins:4.0.0"
}
}
subprojects { Project subproject ->
group "io.micronaut.rabbitmq"
apply plugin: "io.micronaut.build.internal.common"
apply plugin: "io.micronaut.build.internal.dependency-updates"
repositories {
maven { url "https://s01.oss.sonatype.org/content/repositories/snapshots/" }
}
if (subproject.parent.name == "docs-examples" || subproject.name == "docs-examples") {
return
}
apply plugin: "io.micronaut.build.internal.publishing"
}
apply plugin: "io.micronaut.build.internal.docs"
apply plugin: "io.micronaut.build.internal.dependency-updates"
def prepareGuideHotfix = tasks.register("prepareGuideHotfix") {
doLast {
file("${buildDir}/doc-resources").mkdirs()
}
}
tasks.named('publishGuide') {
dependsOn(prepareGuideHotfix)
dependsOn(tasks.javadoc)
}