update to gradle 4.7.2
This commit is contained in:
parent
0ea9f1c034
commit
fbca132aeb
7 changed files with 51 additions and 23 deletions
14
build.gradle
14
build.gradle
|
@ -4,7 +4,7 @@ plugins {
|
|||
}
|
||||
|
||||
wrapper {
|
||||
gradleVersion = "${project.property('gradle.wrapper.version')}"
|
||||
gradleVersion = libs.versions.gradle.get()
|
||||
distributionType = Wrapper.DistributionType.ALL
|
||||
}
|
||||
ext {
|
||||
|
@ -31,10 +31,10 @@ 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')}"
|
||||
api libs.settings.api
|
||||
implementation libs.guava
|
||||
implementation libs.time
|
||||
implementation libs.datastructures.json.tiny
|
||||
implementation libs.reactivestreams
|
||||
testImplementation libs.rxjava3
|
||||
}
|
||||
|
|
|
@ -3,10 +3,3 @@ name = event
|
|||
version = 0.0.1
|
||||
|
||||
org.gradle.warning.mode = ALL
|
||||
gradle.wrapper.version = 7.3.2
|
||||
xbib-guava.version = 30.1
|
||||
xbib-content.version = 4.0.0
|
||||
xbib-time.version = 2.1.1
|
||||
xbib-datastructures.version = 1.0.0
|
||||
reactivestreams.version = 1.0.3
|
||||
rxjava3.version = 3.0.3
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
|
||||
def junitVersion = project.hasProperty('junit.version')?project.property('junit.version'):'5.6.2'
|
||||
def hamcrestVersion = project.hasProperty('hamcrest.version')?project.property('hamcrest.version'):'2.2'
|
||||
|
||||
dependencies {
|
||||
testImplementation "org.junit.jupiter:junit-jupiter-api:${junitVersion}"
|
||||
testImplementation "org.junit.jupiter:junit-jupiter-params:${junitVersion}"
|
||||
testImplementation "org.hamcrest:hamcrest-library:${hamcrestVersion}"
|
||||
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:${junitVersion}"
|
||||
testImplementation libs.junit.jupiter.api
|
||||
testImplementation libs.junit.jupiter.params
|
||||
testImplementation libs.hamcrest
|
||||
testRuntimeOnly libs.junit.jupiter.engine
|
||||
}
|
||||
|
||||
test {
|
||||
|
|
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
BIN
gradle/wrapper/gradle-wrapper.jar
vendored
Binary file not shown.
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.2-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-all.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
dependencyResolutionManagement {
|
||||
versionCatalogs {
|
||||
libs {
|
||||
version('gradle', '7.4.2')
|
||||
version('junit', '5.8.2')
|
||||
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit')
|
||||
library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit')
|
||||
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit')
|
||||
library('junit4', 'junit', 'junit').version('4.13.2')
|
||||
library('hamcrest', 'org.hamcrest', 'hamcrest-library').version('2.2')
|
||||
library('settings-api', 'org.xbib', 'settings-api').version('4.0.0')
|
||||
library('guava', 'org.xbib', 'guava').version('30.1')
|
||||
library('time', 'org.xbib', 'time').version('2.1.1')
|
||||
library('datastructures-json-tiny', 'org.xbib', 'datastructures-json-tiny').version('1.0.0')
|
||||
library('reactivestreams', 'org.reactivestreams', 'reactive-streams').version('1.0.3')
|
||||
library('rxjava3', 'io.reactivex.rxjava3', 'rxjava').version('3.0.3')
|
||||
}
|
||||
}
|
||||
}
|
20
src/main/java/module-info.java
Normal file
20
src/main/java/module-info.java
Normal file
|
@ -0,0 +1,20 @@
|
|||
module org.xbib.event {
|
||||
exports org.xbib.event;
|
||||
exports org.xbib.event.async;
|
||||
exports org.xbib.event.clock;
|
||||
exports org.xbib.event.persistence;
|
||||
exports org.xbib.event.queue;
|
||||
exports org.xbib.event.queue.path.simple;
|
||||
exports org.xbib.event.queue.path.watch;
|
||||
exports org.xbib.event.timer;
|
||||
exports org.xbib.event.yield;
|
||||
exports org.xbib.event.yield.async;
|
||||
exports org.xbib.event.yield.boxes;
|
||||
exports org.xbib.event.yield.ops;
|
||||
requires org.xbib.guava;
|
||||
requires org.xbib.settings.api;
|
||||
requires org.xbib.time;
|
||||
requires org.xbib.datastructures.json.tiny;
|
||||
requires org.reactivestreams;
|
||||
requires java.logging;
|
||||
}
|
Loading…
Reference in a new issue