You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(config): relocate spring-bigdata-test.toml to improve resource organization
- Moved `spring-bigdata-test.toml` from `src/main/resources` to `src/test/resources`.
- Updated Gradle plugin to account for resource directories in all source sets (`main`, `test`, etc.).
- Revised documentation to clarify resource lookup logic for Gradle source sets.
Copy file name to clipboardExpand all lines: doc/user-guide.adoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1807,7 +1807,7 @@ bigDataTest {
1807
1807
}
1808
1808
----
1809
1809
1810
-
`config` loads startup TOML using the same table names as JUnit startup config where the Gradle plugin has matching fields. It is applied as Gradle property conventions, so explicit DSL values win over TOML values:
1810
+
`config` loads startup TOML using the same table names as JUnit startup config where the Gradle plugin has matching fields. `classpath:` locations are resolved from Gradle source-set resources, including `src/main/resources` and `src/test/resources`. It is applied as Gradle property conventions, so explicit DSL values win over TOML values:
1811
1811
1812
1812
[source,toml]
1813
1813
----
@@ -1943,8 +1943,8 @@ The Gradle plugin has three separate classpath/resource concepts:
1943
1943
|This classpath is used only by bigdata-test extension execution. Dependencies added here can affect `spark-sql-prep`, JCEKS generation, Kafka Avro seeding, and other extensions.
1944
1944
1945
1945
|Extension config and SQL/resource lookup
1946
-
|Use `extensionConfig.add(...)`. `classpath:` resources are searched from the extension runtime first and then from the project's main resource directories, including `src/main/resources`and compiled main resources.
1947
-
|There is no dedicated DSL property for extra arbitrary resource directories today. Put files under main resources, reference an absolute or relative `file:` path, or add a small resource jar to `bigDataTestExtensionRuntime`.
1946
+
|Use `extensionConfig.add(...)`. `classpath:` resources are searched from the extension runtime first and then from the project's Gradle source-set resource directories, including `src/main/resources`, `src/test/resources`, and compiled resource outputs.
1947
+
|There is no dedicated DSL property for extra arbitrary resource directories today. Put files under a Gradle source-set resource directory, reference an absolute or relative `file:` path, or add a small resource jar to `bigDataTestExtensionRuntime`.
1948
1948
1949
1949
|Gradle task JVM
1950
1950
|Configure Gradle itself with `org.gradle.jvmargs`, `GRADLE_OPTS`, or `JAVA_TOOL_OPTIONS`.
0 commit comments