This is an automated email from the ASF dual-hosted git repository.
bernardobotella pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-analytics.git
The following commit(s) were added to refs/heads/trunk by this push:
new 592341ce ninja: Remove not wanted jar from src artifacts (#158)
592341ce is described below
commit 592341ce460a4ace3b62ae3ae3d4d11ea4385856
Author: Bernardo Botella <[email protected]>
AuthorDate: Mon Nov 17 09:36:40 2025 -0800
ninja: Remove not wanted jar from src artifacts (#158)
* Remove not wanted jar from src artifacts
* Move the documentation to a better section
* Update readme
---
DEV-README.md | 10 +++++++++-
build.gradle | 1 +
2 files changed, 10 insertions(+), 1 deletion(-)
diff --git a/DEV-README.md b/DEV-README.md
index 7e6f5871..63e39fb8 100644
--- a/DEV-README.md
+++ b/DEV-README.md
@@ -56,10 +56,18 @@ Once you've built the dependencies, you're ready to build
the analytics project.
Cassandra Analytics will build for Spark 3 and Scala 2.12 by default.
+The `gradle-wrapper.jar` file is not being distributed as part of the sources
packages.
+In order to build from sources, that jar needs to be generated by running this
command with
+your system gradle:
+```shell
+gradle wrapper
+```
+
Navigate to the top-level directory for this project:
```shell
-./gradlew clean assemble
+./gradlew clean assemble -PartifactType=common
+./gradlew assemble -PartifactType=spark
```
### Spark 3 and Scala 2.12
diff --git a/build.gradle b/build.gradle
index d9fe3462..396806a8 100644
--- a/build.gradle
+++ b/build.gradle
@@ -285,6 +285,7 @@ distributions {
include 'build.gradle'
exclude '**/.gradle/**'
exclude 'gradle/wrapper/gradle-wrapper.jar'
+ exclude 'scripts/.mvn/wrapper/maven-wrapper.jar'
exclude '**.idea/**'
exclude 'bin/**'
exclude 'dependencies/**'
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]