Skip to content

gradlew check doesn't detect mis-formatted JSON files #553

@mhalbritter

Description

@mhalbritter
  1. ./gradlew scaffold --coordinates com.example:my-library:1.0.0
  2. Remove testImplementation "com.example:my-library:$libraryVersion" from build.gradle
  3. Edit metadata/com.example/my-library/1.0.0/index.json to look like this:
["jni-config.json","proxy-config.json","reflect-config.json","resource-config.json","serialization-config.json"]
  1. Run ./gradlew check

Expected: It should fail because the JSON is not formatted

Actual: Passes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions