/*
 *  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 'groovy-gradle-plugin'
}

repositories {
    gradlePluginPortal()
    mavenCentral()
}

dependencies {
    implementation 'org.asciidoctor:asciidoctor-gradle-jvm:5.0.0-alpha.1'
    implementation 'org.asciidoctor:asciidoctor-gradle-jvm-pdf:5.0.0-alpha.1'
    implementation 'org.jfrog.buildinfo:build-info-extractor-gradle:6.0.2'
    implementation 'org.nosphere.apache:creadur-rat-gradle:0.8.1'
    implementation 'com.github.spotbugs.snom:spotbugs-gradle-plugin:6.4.2'
    implementation 'me.champeau.jmh:jmh-gradle-plugin:0.7.2'
    implementation 'org.cyclonedx:cyclonedx-gradle-plugin:3.0.0-alpha-2'
    implementation "com.fasterxml.jackson:jackson-bom:2.20.0" // later version for cyclonedx
    implementation "org.slf4j:slf4j-api:2.0.17" // later version for cyclonedx
    implementation "org.apache.commons:commons-lang3:3.19.0" // later version for cyclonedx
    implementation 'org.apache.maven:maven-core:3.9.11'
}

tasks.withType(Jar).configureEach {
    duplicatesStrategy = DuplicatesStrategy.WARN
}
