blob: 74c0a848956eea11c9eabf10999ba37ae527a194 [file]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
plugins {
id("io.micronaut.application") version "4.6.1"
}
version = "0.1"
group = "com.example"
repositories {
mavenCentral()
}
dependencies {
annotationProcessor("io.micronaut:micronaut-http-validation")
implementation("io.micronaut:micronaut-http-client-jdk")
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("jakarta.annotation:jakarta.annotation-api")
runtimeOnly("ch.qos.logback:logback-classic")
implementation("io.micronaut.validation:micronaut-validation")
implementation("org.apache.logging.log4j:log4j-core:2.24.3")
}
application {
mainClass.set("com.example.Application")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
graalvmNative.toolchainDetection = false
micronaut {
version "4.9.4"
runtime("http_server_jdk")
testRuntime("junit5")
processing {
incremental(true)
annotations("com.example.*")
}
}
println project.group
println project.name
println project.version