Hwyla

Hwyla

88M Downloads

nevermind without doucmentation and/or at least a simple example I'm lost and wasting my time I'll check back later

frakier opened this issue ยท 1 comments

commented

Issue Description:

Trying to add support for your mod into a mod.

added...
maven { url "https://maven.tehnut.info" }
...in repositories. also tried "http://tehnut.info/maven" since that is mentioned here as well
added ...
deobfCompile "mcp.mobius.waila:Hwyla:1.10.6-B67_1.14.4"
... in dependencies

Are there any instruction on this, am I leaving out anything?

What happens:

Could not find method deobfCompile() for arguments [mcp.mobius.waila:Hwyla:1.10.6-B67_1.14.4]

What you expected to happen:

not a crash at least, still new to some of this

Steps to reproduce:

  1. add the maven and dependency
  2. refresh gradle tasks
  3. check error in console

Affected Versions (Do not use "latest"):

  • Hwyla: targeting the Hwyla-forge-1.10.6-B67_1.14.4 maven dependency
  • Minecraft: 1.14.4
  • Forge: 28.2.0
  • Gradle: 4.9

Possible Conflicting Mods (Provide their version, as well)

none installed other than my code

commented

changed "deobfCompile" to "deobf" and the tasks compiled, maybe I can find more information on how this will look for a mod that has implemented it.

looked at another mod for an example and now have in the build.gradle
`repositories {
maven { // HWYLA
name 'tehnut'
url 'https://maven.tehnut.info'
}
}

dependencies {
minecraft "net.minecraftforge:forge:${project.game_version}-${project.forge_version}"

compileOnly fg.deobf("mcp.mobius.waila:Hwyla:1.10.6-B67_1.14.4:api")
runtimeOnly fg.deobf("mcp.mobius.waila:Hwyla:1.10.6-B67_1.14.4")

}`

tried multiple examples nothing seems to work end up with...
https://maven.tehnut.info being used all over the place.

Moving on for now will check back when you get some documentation.