-
Notifications
You must be signed in to change notification settings - Fork 13
license-gather-plugin: Fixed MANIFEST check is always skipped #48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4ee95e9
to
d400938
Compare
@@ -159,6 +169,18 @@ open class EnumGeneratorTask @Inject constructor(objectFactory: ObjectFactory) : | |||
.addStatement("return idToInstance[id]") | |||
.build() | |||
) | |||
.addFunction( | |||
FunSpec.builder("fromUri") | |||
.addParameter("uri", String::class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be URI:class
for consistency. I'm not sure yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't really judge what implications that would have
if (!file.endsWith(".jar")) { | ||
if (file.extension != "jar") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a nice catch. It might be worth filing an IDEA ticket to https://youtrack.jetbrains.com
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Previuosly, Bundle-License attribute was unexpectedly ignored
b5ca400
to
6757ea8
Compare
6757ea8
to
1620e01
Compare
Found this while debugging to understand how the plugin actually works. The
endsWith
extension function does not what it seems to do at first sightand therefore always evaluates to false