2016-11-23 14:12:19 +01:00
|
|
|
plugins {
|
2021-06-03 19:53:05 +02:00
|
|
|
id "de.marcphilipp.nexus-publish" version "0.4.0"
|
2019-12-09 15:32:54 +01:00
|
|
|
id "io.codearte.nexus-staging" version "0.21.1"
|
2016-11-23 14:12:19 +01:00
|
|
|
}
|
|
|
|
|
2021-06-03 19:53:05 +02:00
|
|
|
wrapper {
|
|
|
|
gradleVersion = "${project.property('gradle.wrapper.version')}"
|
|
|
|
distributionType = Wrapper.DistributionType.ALL
|
2016-01-07 19:22:16 +01:00
|
|
|
}
|
2019-12-09 15:32:54 +01:00
|
|
|
|
|
|
|
ext {
|
2021-06-03 19:53:05 +02:00
|
|
|
user = 'jprante'
|
|
|
|
name = 'guice'
|
|
|
|
description = 'Guice implementation with named modules for Java 11+'
|
|
|
|
inceptionYear = '2012'
|
|
|
|
url = 'https://github.com/' + user + '/' + name
|
|
|
|
scmUrl = 'https://github.com/' + user + '/' + name
|
|
|
|
scmConnection = 'scm:git:git://github.com/' + user + '/' + name + '.git'
|
|
|
|
scmDeveloperConnection = 'scm:git:ssh://git@github.com:' + user + '/' + name + '.git'
|
|
|
|
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')
|
|
|
|
apply from: rootProject.file('gradle/publishing/publication.gradle')
|
|
|
|
apply from: rootProject.file('gradle/publishing/sonatype.gradle')
|
2019-12-09 15:32:54 +01:00
|
|
|
|
2021-06-03 19:53:05 +02:00
|
|
|
dependencies {
|
|
|
|
api "org.xbib:javax-inject:${project.property('javax-inject.version')}"
|
|
|
|
api "org.xbib:guava:${project.property('guava.version')}"
|
|
|
|
testImplementation "junit:junit:${project.property('junit4.version')}"
|
|
|
|
// Helper for com.google.common.testing.GcFinalization, com.google.common.testing.EqualsTester
|
|
|
|
testImplementation "com.google.guava:guava-testlib:30.1-jre"
|
2016-01-07 19:22:16 +01:00
|
|
|
}
|