Add PklProject.deps.json file with newline for POSIX compliance (#664)

* Add Project.deps.json file with newline for POSIX compliance

* Fix test cases
This commit is contained in:
Philip K.F. Hölzenspies
2024-10-01 20:00:46 +01:00
committed by GitHub
parent 47f2143e0d
commit cc1e432a30
4 changed files with 4 additions and 1 deletions

View File

@@ -218,6 +218,7 @@ public final class ProjectDeps {
}
jsonWriter.endObject();
jsonWriter.endObject();
jsonWriter.newline();
jsonWriter.close();
}
}

View File

@@ -1,4 +1,4 @@
{
"schemaVersion": 1,
"resolvedDependencies": {}
}
}

View File

@@ -86,6 +86,7 @@ class ProjectDependenciesResolverTest {
}
}
}
"""
.trimIndent()
)

View File

@@ -44,6 +44,7 @@ class ProjectDepsTest {
}
}
}
"""
.trimIndent()