val foobar = project {
name = "foobar"
group = "test.foobar"
artifactId = name
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib-jre8:1.1.50")
}
assemble {
war {}
}
}
Name of the file which was created: foobar-null.war
If a version number is optional, it should only be added to the filename if it was specified. I would never expect null in a filename. If the version number is required, then the build should fail with a useful error message.
In my opinion, the version number should be optional and not be part of the artifact filename if it was not specified. I would like to learn more about Kobalt and try to solve this problem. Let's see what you will say to my PR… ;-)
Example buildfile:
Name of the file which was created:
foobar-null.war
If a version number is optional, it should only be added to the filename if it was specified. I would never expect
null
in a filename. If the version number is required, then the build should fail with a useful error message.In my opinion, the version number should be optional and not be part of the artifact filename if it was not specified. I would like to learn more about Kobalt and try to solve this problem. Let's see what you will say to my PR… ;-)