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

more-collections/1.0.0 build #6620

Open
aeckar opened this issue Oct 15, 2024 · 0 comments
Open

more-collections/1.0.0 build #6620

aeckar opened this issue Oct 15, 2024 · 0 comments

Comments

@aeckar
Copy link

aeckar commented Oct 15, 2024

Describe the bug
For some reason, the build file /home/jitpack/build/build.gradle.kts is in the Gradle Groovy DSL, which causes my deployment to fail. This is not part of my repository and is from JitPack itself, which is why I assume this is a bug. Locally, and through GitHub actions, I am able to build the Kotlin/JVM project with no issues.

...

FAILURE: Build failed with an exception.

* Where:
Build file '/home/jitpack/build/build.gradle.kts' line: 124

* What went wrong:
Script compilation errors:

  Line 124: apply plugin: 'maven-publish'
                        ^ Expecting an element

  Line 124: apply plugin: 'maven-publish'
            ^ Function invocation 'apply()' expected

...

To Reproduce
Steps to reproduce the behavior:

  1. Create release on GitHub (or deploy directly from last commit)
  2. Go to jitpack.io and sign in using GitHub
  3. Click "Get It"
  4. Build fails with ~26 errors in build.gradle.kts

Expected behavior
I expect the artifact to publish without errors. In this case, the build script should be in the Gradle Kotlin DSL since its file extension is .kts, but since it is not, the build fails.

Additional context
Log output: https://jitpack.io/com/github/aeckar/more-collections/1.0.0/build.log
GitHub repo: https://github.com/aeckar/more-collections

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

No branches or pull requests

1 participant