Skip to content

Instantly share code, notes, and snippets.

@graemerocher
Last active June 18, 2020 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graemerocher/fc6300925105cbd56bda51bb455b7ceb to your computer and use it in GitHub Desktop.
Save graemerocher/fc6300925105cbd56bda51bb455b7ceb to your computer and use it in GitHub Desktop.
micronaut gradle plugin before and after
plugins {
id "com.github.johnrengelman.shadow" version "6.0.0"
id "io.micronaut.application" version "1.0.0.M2"
}
version "0.1"
group "com.example"
repositories {
mavenCentral()
jcenter()
}
dependencies {
implementation("io.micronaut:micronaut-validation")
implementation("io.micronaut:micronaut-http-server-netty")
implementation("io.micronaut:micronaut-http-client")
runtimeOnly("ch.qos.logback:logback-classic")
testImplementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("io.micronaut.test:micronaut-test-junit5")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
}
mainClassName = "com.example.Application"
// use JUnit 5 platform
test {
useJUnitPlatform()
}
java {
sourceCompatibility = JavaVersion.toVersion('1.8')
targetCompatibility = JavaVersion.toVersion('1.8')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment