Last active
June 18, 2020 14:00
-
-
Save graemerocher/fc6300925105cbd56bda51bb455b7ceb to your computer and use it in GitHub Desktop.
micronaut gradle plugin before and after
This file contains hidden or 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
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