add cancellation and refractor PromiseFactory

This commit is contained in:
WhatCats
2024-04-04 17:36:35 +02:00
parent e6eee4e849
commit 5bbcfdc9b3
24 changed files with 670 additions and 445 deletions

View File

@@ -1,4 +1,5 @@
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '8.1.1'
id 'io.github.gradle-nexus.publish-plugin' version '1.3.0'
}
@@ -12,8 +13,8 @@ nexusPublishing {
}
subprojects {
group = "dev.tommyjs"
version = "2.1.3"
group = 'dev.tommyjs'
version = '2.2.0'
apply plugin: 'java'
apply plugin: 'com.github.johnrengelman.shadow'
@@ -27,4 +28,23 @@ subprojects {
repositories {
mavenCentral()
}
dependencies {
implementation 'org.jetbrains:annotations:24.1.0'
implementation 'org.slf4j:slf4j-api:2.0.12'
compileOnly 'io.projectreactor:reactor-core:3.6.4'
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 'org.slf4j:slf4j-api:2.0.12'
testImplementation 'ch.qos.logback:logback-classic:1.5.3'
}
test {
useJUnitPlatform()
testLogging {
exceptionFormat = 'full'
}
}
}