Skip to content

Instantly share code, notes, and snippets.

@aalmiray
Last active July 16, 2020 14:08
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 aalmiray/9fb34beccbce21e9d4475a38de506c2c to your computer and use it in GitHub Desktop.
Save aalmiray/9fb34beccbce21e9d4475a38de506c2c to your computer and use it in GitHub Desktop.
Helidon SE Gradle starter
plugins {
id 'com.github.johnrengelman.shadow'
id 'java'
id 'application'
}
application {
mainClassName = 'com.acme.example.helidon.Main'
}
repositories {
jcenter()
}
dependencies {
implementation platform("io.helidon:helidon-dependencies:${helidonVersion}")
implementation 'io.helidon.webserver:helidon-webserver'
implementation 'io.helidon.media:helidon-media-jsonp'
implementation 'io.helidon.config:helidon-config-yaml'
implementation 'io.helidon.health:helidon-health'
implementation 'io.helidon.health:helidon-health-checks'
implementation 'io.helidon.metrics:helidon-metrics'
testImplementation 'org.junit.jupiter:junit-jupiter-api'
testImplementation 'io.helidon.webclient:helidon-webclient'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
test {
useJUnitPlatform()
}
group = com.acme.example
version = 0.0.0-SNAPSHOT
sourceCompatibility = 11
targetCompatibility = 11
helidonVersion = 2.0.1
pluginManagement {
repositories {
jcenter()
gradlePluginPortal()
}
plugins {
id 'com.github.johnrengelman.shadow' version '6.0.0'
}
}
rootProject.name = 'helidon-sample'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment