mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-11 23:40:37 -05:00
Test gradle-env.json output
This commit is contained in:
@@ -11,6 +11,11 @@ dependencies {
|
||||
implementation("com.squareup.moshi:moshi:1.8.0")
|
||||
}
|
||||
|
||||
task runGradleTest {
|
||||
tasks.register("runGradleTest") {
|
||||
dependsOn 'nixGradleEnv'
|
||||
|
||||
doLast {
|
||||
assert file("gradle-env.json").text == file("gradle/nix/gradle-env.json").text :
|
||||
"Mismatch: gradle-env.json"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user