-
Notifications
You must be signed in to change notification settings - Fork 81
Set mainClass as optional, fix samples to be usable standalone #113
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
native-gradle-plugin/src/main/java/org/graalvm/buildtools/gradle/dsl/NativeImageOptions.java
Show resolved
Hide resolved
1456c69 to
7a10214
Compare
sdeleuze
left a comment
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.
Works for me with my additional comments on formatting and after clarifying with @melix the mavenLocal(), I admit I added it as well locally for my gradle publishToMavenLocal but I guess he has another workflow to recommend.
| @Unroll("agent property takes precedence on Gradle #version with JUnit Platform #junitVersion") | ||
| def "agent property takes precedence"() { | ||
| gradleVersion = version | ||
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.
If you can rollback for cleaner diff that would be great.
| @Unroll("can execute Kotlin tests in a native image directly on Gradle #version with JUnit Platform #junitVersion") | ||
| def "can execute Kotlin tests in a native image directly"() { | ||
| gradleVersion = version | ||
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.
If you can rollback for cleaner diff that would be great.
Before this commit if mainClass was missing, Gradle plugin would abort the build. This is wrong since mainClass isn't required for building shared libraries (also, mainClass can be defined using properties file). This change fixes #108 Second change that is introduced in this commit fixes issue #105
7a10214 to
cb6fc03
Compare
Before this commit if mainClass was missing, Gradle plugin would abort the build.
This is wrong since mainClass isn't required for building shared libraries (also,
mainClass can be defined using properties file). This change fixes #108
Second change that is introduced in this commit fixes issue #105