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 4c198efc ninja: Add env vars to dev readme build instructions (#159)
4c198efc is described below
commit 4c198efc94ebfcec144ccde02021d549b1bf773e
Author: Bernardo Botella <[email protected]>
AuthorDate: Tue Nov 18 06:26:45 2025 -0800
ninja: Add env vars to dev readme build instructions (#159)
---
DEV-README.md | 16 +++-------------
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/DEV-README.md b/DEV-README.md
index 63e39fb8..0b17b1de 100644
--- a/DEV-README.md
+++ b/DEV-README.md
@@ -36,7 +36,7 @@ and dependencies will build there instead of local to the
project.
In order to build the necessary dependencies, please run the following:
```shell
-./scripts/build-dependencies.sh
+CASSANDRA_USE_JDK11=true ./scripts/build-dependencies.sh
```
This will build both the necessary dtest jars and the sidecar
libraries/package necessary for build and test.
@@ -66,18 +66,8 @@ gradle wrapper
Navigate to the top-level directory for this project:
```shell
-./gradlew clean assemble -PartifactType=common
-./gradlew assemble -PartifactType=spark
-```
-
-### Spark 3 and Scala 2.12
-
-To build for Spark 3 and Scala 2.12, export both `SCALA_VERSION=2.12` and
`SPARK_VERSION=3`:
-
-```shell
-export SCALA_VERSION=2.12
-export SPARK_VERSION=3
-./gradlew clean assemble
+SCALA_VERSION=2.13 SPARK_VERSION=3 ./gradlew clean assemble
-PartifactType=common
+SCALA_VERSION=2.13 SPARK_VERSION=3 ./gradlew assemble -PartifactType=spark
```
### Git hooks (optional)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]