[Gradle] Throw error if new JS test DSL is used with Wasm