40 lines
1.8 KiB
Groovy
40 lines
1.8 KiB
Groovy
plugins {
|
|
id "de.marcphilipp.nexus-publish" version "0.4.0"
|
|
id "io.codearte.nexus-staging" version "0.21.1"
|
|
}
|
|
|
|
wrapper {
|
|
gradleVersion = "${project.property('gradle.wrapper.version')}"
|
|
distributionType = Wrapper.DistributionType.ALL
|
|
}
|
|
ext {
|
|
user = 'jprante'
|
|
name = 'event'
|
|
description = 'Event framework for Java (NIO paths, files, timers, journals)'
|
|
inceptionYear = '2021'
|
|
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/ide/idea.gradle')
|
|
apply from: rootProject.file('gradle/compile/java.gradle')
|
|
apply from: rootProject.file('gradle/test/junit5.gradle')
|
|
apply from: rootProject.file('gradle/repositories/maven.gradle')
|
|
apply from: rootProject.file('gradle/publishing/publication.gradle')
|
|
apply from: rootProject.file('gradle/publishing/sonatype.gradle')
|
|
|
|
dependencies {
|
|
api "org.xbib:settings-api:${project.property('xbib-content.version')}"
|
|
implementation "org.xbib:guava:${project.property('xbib-guava.version')}"
|
|
implementation "org.xbib:time:${project.property('xbib-time.version')}"
|
|
implementation "org.xbib:datastructures-json-tiny:${project.property('xbib-datastructures.version')}"
|
|
implementation "org.reactivestreams:reactive-streams:${project.property('reactivestreams.version')}"
|
|
testImplementation "io.reactivex.rxjava3:rxjava:${project.property('rxjava3.version')}"
|
|
}
|