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

gradle init fails to generate Kotlin application with JUnit Jupiter test framework #29204

Closed
bamboo opened this issue May 17, 2024 · 3 comments · Fixed by #29240
Closed

gradle init fails to generate Kotlin application with JUnit Jupiter test framework #29204

bamboo opened this issue May 17, 2024 · 3 comments · Fixed by #29240

Comments

@bamboo
Copy link
Member

bamboo commented May 17, 2024

Current Behavior

Build fails with:

* What went wrong:
Execution failed for task ':init'.
> Could not find template 'kotlinapplication/junitjupiter/AppTest.kt.template' in classpath.

Expected Behavior

Build succeeds

Context (optional)

No response

Steps to Reproduce

Run gradle init and choose to generate a single module Kotlin application with Kotlin build scripts and the JUnit Jupiter test framework.

Gradle version

8.8-rc-1

Build scan URL (optional)

No response

Your Environment (optional)

No response

@ljacomet
Copy link
Member

This was supposed to be fixed with #28489

@ljacomet ljacomet added this to the 8.8 RC2 milestone May 21, 2024
@ov7a
Copy link
Member

ov7a commented May 21, 2024

Reproducer command:

gradle init --type kotlin-application --test-framework junit-jupiter --dsl kotlin --project-name test --incubating --java-version 17 --no-split-project

@ljacomet
Copy link
Member

Fixed with #29240

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants