frankgh commented on code in PR #48:
URL: 
https://github.com/apache/cassandra-analytics/pull/48#discussion_r1548642277


##########
cassandra-analytics-core/build.gradle:
##########
@@ -19,171 +19,152 @@ import java.nio.file.Paths
  * under the License.
  */
 
-project(':cassandra-analytics-core') {
-    apply(plugin: 'java-library')
-    apply(plugin: 'jacoco')
-    apply(plugin: 'maven-publish')
-
-    java {
-        withJavadocJar()
-        withSourcesJar()
-    }
+plugins {
+    id('java-library')
+    id('jacoco')
+    id('maven-publish')
+}
 
-    publishing {
-        publications {
-            maven(MavenPublication) {
-                from components.java
-                groupId project.group
-                artifactId "${archivesBaseName}"
-                version System.getenv("CODE_VERSION") ?: "${version}"
-            }
-        }
+java {
+    withJavadocJar()
+    withSourcesJar()
+
+    // Allows publishing the test jar
+    registerFeature("test") {

Review Comment:
   produce a tests jar instead of packaging the test sources in the release jar



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to