Jump to content

ElOsito123

Members
  • Posts

    58
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ElOsito123's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. Ready, I have it updated @DaemonUmbra
  2. Okay, I'll update it
  3. Therefore, I mean that if they could do it in that way that I can not, but why do not I?
  4. That's why, those mods are made in the same way https://github.com/MCOfficer/Minecraft-RPC/blob/master/build.gradle
  5. But why? There are other mods that do the same thing that I'm trying to do now and they use shadow and they work and mine does not @DaemonUmbra
  6. Please, I would like to be able to solve this
  7. Then can you tell me what is my problem with shadow ?, I really think I like it better
  8. Really can not be with shadow?
  9. This "simple" system is complicated at least for me
  10. Another thing, said it was easier, but then you can with shadow? as? or what do I do wrong?, really that late in understanding it (shadow) I think it would be easier
  11. I found that, should it work? configurations { embed compile.extendsFrom embed } dependencies { embed 'club.minnced:java-discord-rpc:v2.0.1' } task generateMetaFiles { doLast { file("${buildDir}/dependencyMeta/").deleteDir() configurations.embed.resolvedConfiguration.resolvedArtifacts.each { def metaFile = file("${buildDir}/dependencyMeta/${it.file.name}.meta") metaFile.parentFile.mkdirs() def artifactRef = it.moduleVersion.toString() if (it.classifier != null) { artifactRef += ":${it.classifier}" } metaFile.text = "Maven-Artifact: $artifactRef" } } } jar { into('/') { from configurations.embed from "${buildDir}/dependencyMeta/" } manifest { attributes 'ContainedDeps': configurations.embed.collect { it.name }.join(' ') } dependsOn generateMetaFiles }
  12. This is still confusing for me, I can not understand how it is done
  13. but I'm confused about "META-INF" I do not know what it is and I do not have that folder for the location
  14. but I do not use maven, so I understood that is with maven
  15. Can you explain me how to use it or an example? English is not my native language so it's hard to understand
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.