All Downloads are FREE. Search and download functionalities are using the official Maven repository.

codestarts.quarkus.buildtool.gradle.base.build-layout.include.qute Maven / Gradle / Ivy

{#insert plugins}
plugins {
    id '{quarkus.gradle-plugin.id}'
}
{/}

{#insert repositories}
repositories {
    mavenCentral()
    mavenLocal()
{#if gradle.repositories}
{#for rep in gradle.repositories}
    maven { url "{rep.url}" }
{/for}
{/if}
}
{/}

{#insert dependencies}
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}
}
{/}

test {
    systemProperty "java.util.logging.manager", "org.jboss.logmanager.LogManager"
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy