From 17811ac9a1d87ab69a91744f98142a98935b85bd Mon Sep 17 00:00:00 2001 From: Alejandro Revilla Date: Wed, 9 Oct 2024 19:22:37 -0300 Subject: [PATCH] Enable sources in publish task --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8df26ef43..88a143065 100644 --- a/build.gradle +++ b/build.gradle @@ -19,6 +19,7 @@ allprojects { } subprojects { + apply from: "${rootProject.projectDir}/publishing.gradle" if (name != 'bom') { apply plugin: 'java-library' apply plugin: 'org.jpos.jposapp' @@ -33,7 +34,7 @@ subprojects { // maxParallelForks = Runtime.runtime.availableProcessors() // } } - dependencies { + dependencies{ testImplementation testlibs.junit testRuntimeOnly testlibs.junitRuntime } @@ -41,6 +42,7 @@ subprojects { java { sourceCompatibility = JavaVersion.VERSION_22 targetCompatibility = JavaVersion.VERSION_22 + withSourcesJar() } repositories { mavenCentral()