guice/build.gradle

52 lines
1.9 KiB
Groovy
Raw Normal View History

plugins {
2023-05-25 22:07:14 +02:00
//id "checkstyle"
//id "pmd"
id 'maven-publish'
id 'signing'
id "io.github.gradle-nexus.publish-plugin" version "1.3.0"
//id "com.github.spotbugs" version "5.0.14"
id "org.cyclonedx.bom" version "1.7.2"
//id "org.xbib.gradle.plugin.asciidoctor" version "3.0.0"
}
2021-06-03 19:53:05 +02:00
wrapper {
2023-05-25 22:07:14 +02:00
gradleVersion = libs.versions.gradle.get()
2021-06-03 19:53:05 +02:00
distributionType = Wrapper.DistributionType.ALL
2016-01-07 19:22:16 +01:00
}
2019-12-09 15:32:54 +01:00
ext {
2023-05-25 22:07:14 +02:00
user = 'joerg'
2021-06-03 19:53:05 +02:00
name = 'guice'
description = 'Guice implementation with named modules for Java 11+'
inceptionYear = '2012'
2023-05-25 22:07:14 +02:00
url = 'https://xbib.org/' + user + '/' + name
scmUrl = 'https://xbib.org/' + user + '/' + name
scmConnection = 'scm:git:git://xbib.org/' + user + '/' + name + '.git'
scmDeveloperConnection = 'scm:git:ssh://forgejo@xbib.org:' + user + '/' + name + '.git'
2021-06-03 19:53:05 +02:00
issueManagementSystem = 'Github'
issueManagementUrl = ext.scmUrl + '/issues'
licenseName = 'The Apache License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
apply plugin: 'java-library'
apply from: rootProject.file('gradle/init/banner.gradle')
apply from: rootProject.file('gradle/ide/idea.gradle')
apply from: rootProject.file('gradle/repositories/maven.gradle')
apply from: rootProject.file('gradle/compile/java.gradle')
apply from: rootProject.file('gradle/test/junit5.gradle')
2023-05-25 22:07:14 +02:00
apply from: rootProject.file('gradle/quality/cyclonedx.gradle')
//apply from: rootProject.file('gradle/quality/spotbugs.gradle')
//apply from: rootProject.file('gradle/quality/checkstyle.gradle')
//apply from: rootProject.file('gradle/quality/pmd.gradle')
apply from: rootProject.file('gradle/publish/sonatype.gradle')
apply from: rootProject.file('gradle/publish/forgejo.gradle')
2019-12-09 15:32:54 +01:00
2021-06-03 19:53:05 +02:00
dependencies {
2023-05-25 22:07:14 +02:00
api libs.javax.inject
api libs.guava
testImplementation libs.junit4
2021-06-03 19:53:05 +02:00
// Helper for com.google.common.testing.GcFinalization, com.google.common.testing.EqualsTester
2023-05-25 22:07:14 +02:00
testImplementation libs.guava.testlib
2016-01-07 19:22:16 +01:00
}