Skip to content

Conversation

@lazar-mitrovic
Copy link
Collaborator

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

@lazar-mitrovic lazar-mitrovic linked an issue Jul 30, 2021 that may be closed by this pull request
@lazar-mitrovic lazar-mitrovic requested review from melix and sdeleuze July 30, 2021 16:27
Copy link
Collaborator

@sdeleuze sdeleuze left a 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
Copy link
Collaborator

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
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regression: mainClass property should not be mandatory Ensure that samples work out-of-the-box

4 participants