From 5a435bc3de77ad895a44717ee3c578852217f9a6 Mon Sep 17 00:00:00 2001 From: sskorol Date: Thu, 26 Aug 2021 18:36:41 +0300 Subject: [PATCH] Reverting breaking dependencies: seems like latest reflections library has a bug which prevents from subtypes analysis. This update downgrades to a stable version. --- README.md | 6 +++--- build.gradle | 3 ++- gradle/maven-publish.gradle | 12 ++++++------ 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 89b460d..c3e2ea5 100644 --- a/README.md +++ b/README.md @@ -155,7 +155,7 @@ configurations { dependencies { agent 'org.aspectj:aspectjweaver:1.9.6' - implementation 'io.github.sskorol:test-data-supplier:1.9.3' + implementation 'io.github.sskorol:test-data-supplier:1.9.4' } test { @@ -189,7 +189,7 @@ configurations { dependencies { agent 'org.aspectj:aspectjweaver:1.9.6' - implementation 'io.github.sskorol:test-data-supplier:1.9.3' + implementation 'io.github.sskorol:test-data-supplier:1.9.4' } compileJava { @@ -480,7 +480,7 @@ Note that in case if you want to manage **DataProviderTransformer** manually, yo ```groovy dependencies { - implementation 'io.github.sskorol:test-data-supplier:1.9.3:spi-off' + implementation 'io.github.sskorol:test-data-supplier:1.9.4:spi-off' } ``` diff --git a/build.gradle b/build.gradle index 24c8414..5080987 100644 --- a/build.gradle +++ b/build.gradle @@ -48,7 +48,8 @@ dependencies { api("one.util:streamex:0.7.3") api("io.vavr:vavr:1.0.0-alpha-3") api("org.aspectj:aspectjrt:${aspectjVersion}") - api("org.reflections:reflections:0.9.12") + // Don't update to 0.9.12 due to bugs + api("org.reflections:reflections:0.9.11") api("org.apache.commons:commons-csv:1.9.0") api("com.google.code.gson:gson:2.8.8") api("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}") diff --git a/gradle/maven-publish.gradle b/gradle/maven-publish.gradle index 0f29175..6abdcbe 100644 --- a/gradle/maven-publish.gradle +++ b/gradle/maven-publish.gradle @@ -23,12 +23,6 @@ release { tagTemplate = '${version}' } -// Required for publishing to Sonatype -java { - withJavadocJar() - withSourcesJar() -} - jar { inputs.property("moduleName", moduleName) manifest { @@ -102,6 +96,12 @@ artifacts { archives javadocJar } +// Required for publishing to Sonatype +java { + withJavadocJar() + withSourcesJar() +} + afterEvaluate { publishing { publications {