mirror of
https://github.com/tommyskeff/futur4j.git
synced 2026-01-18 07:16:45 +00:00
- added docs for `Promise` and `PromiseFactory` - removed outdated README docs - moved some common utilities to `PromiseUtil` - improved efficiency of result array resizing - added cancellation result to promise executors - changed visibility of `PromiseJoiner` to public, and made some method names more verbose - inlined `DeferredExecutionException` to inside `AbstractPromise` - inlined default promise implementation to inner class in the factory - removed necessity for base factories to provide a logger
49 lines
1.1 KiB
Groovy
49 lines
1.1 KiB
Groovy
plugins {
|
|
id 'java-library'
|
|
id 'com.github.johnrengelman.shadow' version '8.1.1'
|
|
id 'io.github.gradle-nexus.publish-plugin' version '2.0.0'
|
|
}
|
|
|
|
nexusPublishing {
|
|
repositories {
|
|
tommyjs {
|
|
nexusUrl = uri("https://repo.tommyjs.dev/repository/maven-releases")
|
|
}
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
group = 'dev.tommyjs'
|
|
version = '2.4.0'
|
|
|
|
apply plugin: 'java-library'
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
|
|
tasks {
|
|
build {
|
|
dependsOn(tasks.shadowJar)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'org.jetbrains:annotations:24.1.0'
|
|
implementation 'org.slf4j:slf4j-api:2.0.12'
|
|
2
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
testImplementation 'io.projectreactor:reactor-core:3.6.4'
|
|
testImplementation 'org.junit.jupiter:junit-jupiter:5.8.1'
|
|
testImplementation 'ch.qos.logback:logback-classic:1.5.3'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
testLogging {
|
|
exceptionFormat = 'full'
|
|
showStandardStreams = true
|
|
}
|
|
}
|
|
} |