Giter VIP home page Giter VIP logo

[Other]: Could not find method deobfProvided() for arguments [mezz.jei:jei_1.19.2:11.0.0.297:api] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler about justenoughitems HOT 17 CLOSED

randomusert avatar randomusert commented on September 13, 2024
[Other]: Could not find method deobfProvided() for arguments [mezz.jei:jei_1.19.2:11.0.0.297:api] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler

from justenoughitems.

Comments (17)

mezz avatar mezz commented on September 13, 2024

Thanks for the report!

deobfProvided works for ForgeGradle version 2, which is only used for Minecraft 1.12.

For ForgeGradle on Minecraft 1.19.2, please follow these instructions from the wiki:
https://github.com/mezz/JustEnoughItems/wiki/Getting-Started-%5BJEI-10-or-higher-for-Forge-or-Fabric%5D#dependencies-for-forgegradle

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

now it trows this:
Execution failed for task ':compileJava'.

Could not resolve all files for configuration ':compileClasspath'.
Could not find mezz.jei:jei-1.19.2-common-api:11.0.0.297_mapped_official_1.19.2.
Searched in the following locations:
- file:/C:/Users/Kone/.gradle/caches/forge_gradle/bundled_deobf_repo/mezz/jei/jei-1.19.2-common-api/11.0.0.297_mapped_official_1.19.2/jei-1.19.2-common-api-11.0.0.297_mapped_official_1.19.2.pom
- file:/C:/Users/Kone/.gradle/caches/forge_gradle/bundled_deobf_repo/mezz/jei/jei-1.19.2-common-api/11.0.0.297_mapped_official_1.19.2/jei-1.19.2-common-api-11.0.0.297_mapped_official_1.19.2.jar
Required by:
project :
Could not find mezz.jei:jei-1.19.2-forge-api:11.0.0.297_mapped_official_1.19.2.
Searched in the following locations:
- file:/C:/Users/Kone/.gradle/caches/forge_gradle/bundled_deobf_repo/mezz/jei/jei-1.19.2-forge-api/11.0.0.297_mapped_official_1.19.2/jei-1.19.2-forge-api-11.0.0.297_mapped_official_1.19.2.pom
- file:/C:/Users/Kone/.gradle/caches/forge_gradle/bundled_deobf_repo/mezz/jei/jei-1.19.2-forge-api/11.0.0.297_mapped_official_1.19.2/jei-1.19.2-forge-api-11.0.0.297_mapped_official_1.19.2.jar
Required by:
project :

Possible solution:

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

Here is a working (at the time) build.gradle for 1.19: https://github.com/mezz/ItemZoom/blob/da3afdd63ddd3b69648e415589103286cdbd5c42/build.gradle
Please compare your configuration to this one in order to see if there are any issues.

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

The wiki also lists another repo that isn't in your build script:

  maven {
    // location of the maven that hosts JEI files since January 2023
    name = "Jared's maven"
    url = "https://maven.blamejared.com/"
  }

Please make sure you follow all the steps on the page I linked earlier.

If it still doesn't work, send me a link to your updated build.gradle so I can try it out.

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

i did not push it my bad

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

it should be pushed

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

I think it The mappings since My mod uses The official mippings not The other mappings

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

did not work with parchment mappings

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

I will try it out and see what happens on my computer.

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

You have chosen JEI version 11.0.0.297, which is quite old and for Minecraft 1.19.
Setting the version to 11.6.0.1024, the latest for 1.19.2, fixes the problem.

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

oh they are in reverse from oledest to newest i didn't notice that

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

it works!

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

Great!

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

but the listing in the maven repository is inverted isn't ideal

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

I think maven is sorted alphabetically, I'm not sure what the right approach is to improve it but I'll ask around.

from justenoughitems.

randomusert avatar randomusert commented on September 13, 2024

yeah thats why i had this sorry for this hastle

from justenoughitems.

mezz avatar mezz commented on September 13, 2024

I have added a list of the latest versions to the README, check it out:
https://github.com/mezz/JustEnoughItems/blob/1.21.x/README.md#latest-versions

from justenoughitems.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.