Skip to content
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

Remove unnecessary kotlin path declaration in gradle build file #12851

Merged
merged 1 commit into from
Oct 22, 2020

Conversation

glefloch
Copy link
Member

As mentionned by @aloubyansky, it's not necessary to declare source path and output path for kotlin.

I removed it from tests and from codestart template.

allOpen {
annotation("javax.ws.rs.Path")
annotation("javax.enterprise.context.ApplicationScoped")
annotation("io.quarkus.test.junit.QuarkusTest")
}

java {
sourceCompatibility = JavaVersion.VERSION_11
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was this removed?

Copy link
Member Author

@glefloch glefloch Oct 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We used to not specify java version in sample project as Gradle test were ran against jdk 8. But this is not the case anymore. I don't know whether we should keep it or not..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glefloch 👆

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ia3andy should I revert this change?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@glefloch I don't know 😅

@aloubyansky aloubyansky merged commit 009b967 into quarkusio:master Oct 22, 2020
@gsmet gsmet added this to the 1.10 - master milestone Oct 27, 2020
@glefloch glefloch deleted the fix/simplify-gradle-kotlin branch August 19, 2021 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants