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

Unable to update to 1.2.8 from 1.2.6/1.2.7 #27

Closed
MianReplicate opened this issue May 3, 2024 · 4 comments
Closed

Unable to update to 1.2.8 from 1.2.6/1.2.7 #27

MianReplicate opened this issue May 3, 2024 · 4 comments

Comments

@MianReplicate
Copy link

MianReplicate commented May 3, 2024

Hiya! Not sure if I am doing anything wrong but I am noticing that the new update is erroring my gradle on reload because of its inability to find something called "JarManager".

Error:
Could not find fr.stevecohen.jarmanager:JarManager:0.5.0

Because of the above error, I tried adding the repository that provides JarManager but I just keep getting "Already seen doctype" errors + it is unable to parse the POM anyways.

Looking further into the issue, I did notice that a line in build.gradle was changed in the new 1.2.8 update to directly reference JarManager. Perhaps that may be the problem?
shadowMe fileTree(dir: 'libs', include: ['*.jar']) (1.2.7)
shadowMe 'fr.stevecohen.jarmanager:JarManager:0.5.0' (1.2.8)

shadowMe fileTree(dir: 'libs', include: ['*.jar']) // https://bitbucket.org/ReaperSoon/maven-repo/src/367c0bcb2749/fr/stevecohen/jarmanager
(1.2.7)
shadowMe 'fr.stevecohen.jarmanager:JarManager:0.5.0' // https://bitbucket.org/ReaperSoon/maven-repo/src/367c0bcb2749/fr/stevecohen/jarmanager
(1.2.8)

Is this an issue on my end or is it something you have to fix? Sorry if there is an obvious fix that can be done on my end, I am not the best at gradle and I am not sure how I would bypass this problem.

@MianReplicate MianReplicate changed the title Unable to Update to 1.2.8 Unable to update to 1.2.8 May 3, 2024
@MianReplicate MianReplicate changed the title Unable to update to 1.2.8 Unable to update to 1.2.8 from 1.2.6/1.2.7 May 3, 2024
@hypherionmc
Copy link
Collaborator

I submitted a fix for this. Ran just has to publish it :)

For a now, work around is to do the following:

In your settings.gradle file, add this to the top:

pluginManagement {
    repositories {
        gradlePluginPortal()
        maven {
            url "https://maven.firstdark.dev/releases"
        }
    }
}

If you already have a pluginManagement block in there, just add the following under gradlePluginPortal()

 maven {
    url "https://maven.firstdark.dev/releases"
}

@Ran-Mewo
Copy link
Member

Ran-Mewo commented May 3, 2024

I literally made sure this didn't happen before publishing the new update
and it's exactly what happened

@Ran-Mewo
Copy link
Member

Ran-Mewo commented May 3, 2024

@LoxiGoose Sorry for all the inconvenience but everything should hopefully work with version 1.2.9!

@hypherionmc
Copy link
Collaborator

hypherionmc commented May 3, 2024

🥳 Also, hey Loxi. I just recognized you 🤦‍♂️

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

3 participants