
codestarts.quarkus.buildtool.gradle-kotlin-dsl.base.build-layout.include.qute Maven / Gradle / Ivy
{#insert plugins}
plugins {
id("{quarkus.plugin.id}")
}
{/}
{#insert repositories}
repositories {
mavenCentral()
mavenLocal()
{#if gradle.repositories}
{#for rep in gradle.repositories}
maven { url = uri("{rep.url}") }
{/for}
{/if}
}
{/}
{#insert dependencies}
val quarkusPlatformGroupId: String by project
val quarkusPlatformArtifactId: String by project
val quarkusPlatformVersion: String by project
dependencies {
{#each boms}
{#if it.groupId == quarkus.platform.group-id && it.version == quarkus.platform.version}
{#if it.artifactId == quarkus.platform.artifact-id}
implementation(enforcedPlatform("$\{quarkusPlatformGroupId}:$\{quarkusPlatformArtifactId}:$\{quarkusPlatformVersion}"))
{#else}
implementation(enforcedPlatform("$\{quarkusPlatformGroupId}:{it.artifactId}:$\{quarkusPlatformVersion}"))
{/if}
{#else}
implementation(enforcedPlatform("{it.groupId}:{it.artifactId}:{it.version}"))
{/if}
{/each}
{#for dep in dependencies}
implementation("{dep}")
{/for}
testImplementation("io.quarkus:quarkus-junit5")
{#for dep in test-dependencies}
testImplementation("{dep}")
{/for}
}
{/}
{#insert project}
group = "{project.group-id}"
version = "{project.version}"
{/}
{#insert java}
java {
{#if java.version == "17"}
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
{#else}
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
{/if}
}
{/}
tasks.withType {
systemProperty("java.util.logging.manager", "org.jboss.logmanager.LogManager")
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy