Skip to content

Commit

Permalink
Use new Gradle build plugins (micronaut-projects#53)
Browse files Browse the repository at this point in the history
* Use new Gradle build plugins

* Upgrade internal build plugins to 3.0.1
  • Loading branch information
ilopmar authored Feb 18, 2021
1 parent 81eedc6 commit 452bbef
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,23 @@
buildscript {
repositories {
gradlePluginPortal()
jcenter()
maven { url "https://dl.bintray.com/micronaut/core-releases-local" }
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "io.micronaut.build:micronaut-gradle-plugins:2.0.16"
classpath "io.micronaut.build.internal:micronaut-gradle-plugins:3.0.1"
}
}

subprojects { Project subproject ->
group "io.micronaut.mqtt"

apply plugin: "io.micronaut.build.common"
apply plugin: "io.micronaut.build.dependency-updates"
apply plugin: "io.micronaut.build.internal.common"
apply plugin: "io.micronaut.build.internal.dependency-updates"

if (subproject.parent.name == "docs-examples" || subproject.name == "docs-examples" || subproject.name.contains("test")) {
return
}
apply plugin: "io.micronaut.build.publishing"
apply plugin: "io.micronaut.build.internal.publishing"
}

apply plugin: "io.micronaut.build.docs"
apply plugin: "io.micronaut.build.dependency-updates"
apply plugin: "io.micronaut.build.internal.docs"
apply plugin: "io.micronaut.build.internal.dependency-updates"

0 comments on commit 452bbef

Please sign in to comment.