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

Specify java version 11 for jitpack. #219

Merged
merged 1 commit into from
Aug 9, 2021
Merged

Conversation

Laimiux
Copy link
Collaborator

@Laimiux Laimiux commented Aug 6, 2021

What

Seeing issue when Jitpack tries to build latest version

Build file '/home/jitpack/build/formula-android/build.gradle' line: 1

* What went wrong:
A problem occurred evaluating project ':formula-android'.
> Failed to apply plugin 'com.android.internal.library'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     You can try some of the following options:
       - changing the IDE settings.
       - changing the JAVA_HOME environment variable.
       - changing `org.gradle.java.home` in `gradle.properties`.

@Laimiux Laimiux requested a review from Jawnnypoo August 6, 2021 17:20
@carrotkite
Copy link

JaCoCo Code Coverage 77.74% ✅

Class Covered Meta Status

Generated by 🚫 Danger

Copy link
Member

@Jawnnypoo Jawnnypoo left a comment

Choose a reason for hiding this comment

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

How did you find out about this jitpack.yml? Interesting stuff.

@Laimiux
Copy link
Collaborator Author

Laimiux commented Aug 9, 2021

How did you find out about this jitpack.yml? Interesting stuff.

I ran into an issue where Jitpack builds were failing due to Java 8.

@Laimiux Laimiux merged commit 63f6243 into master Aug 9, 2021
@Laimiux Laimiux deleted the laimonas/fix-jitpack branch August 9, 2021 18:03
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.

None yet

3 participants