Résolu Probleme de Build !
-
Bonjour je n’arrive plus a build mon mod…
J’ai ce message d’erreur …
C:\Users\antoine\Desktop\Modding 2>gradlew build **************************** Powered By MCP: http://mcp.ocean-labs.de/ Searge, ProfMobius, Fesh0r, R4wk, ZeuX, IngisKahn, bspkrs MCP Data version : unknown **************************** :compileApiJava UP-TO-DATE :processApiResources UP-TO-DATE :apiClasses UP-TO-DATE :sourceMainJava UP-TO-DATE :compileJava UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar UP-TO-DATE :compileTestJava UP-TO-DATE :processTestResources UP-TO-DATE :testClasses UP-TO-DATE :test UP-TO-DATE :extractMcpData UP-TO-DATE :getVersionJson :extractUserDev UP-TO-DATE :genSrgs SKIPPED :reobf FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':reobf'. > MALFORMED * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 17.894 secs C:\Users\antoine\Desktop\Modding 2> C:\Users\antoine\Desktop\Modding 2> C:\Users\antoine\Desktop\Modding 2>
J’ai donc essayer gradlew build --debug …
S starting to execute task ':reobf' 15:36:38.256 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskEx ecuter ] D etermining if task ':reobf' is up-to-date 15:36:38.272 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExe cuter ] E xecuting task ':reobf' (up-to-date check took 0.011 secs) due to: Output file C:\Users\antoine\Desktop\Modding 2\build\libs\TutoMod.MODID-1.0.ja r has changed. Output file C:\Users\antoine\Desktop\Modding 2\build\libs\TutoMod.MODID-1.0.ja r has changed. 15:36:38.279 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTask Executer ] E xecuting actions for task ':reobf'. 15:36:39.537 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceT askExecuter ] F inished executing task ':reobf' 15:36:39.545 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :reobf FAILED 15:36:39.558 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :r eobf (Thread[main,5,main]) completed. Took 1.313 secs. 15:36:39.567 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] T ask worker [Thread[main,5,main]] finished, busy: 16.765 secs, idle: 0.234 secs 15:36:39.589 [ERROR] [org.gradle.BuildExceptionReporter] 15:36:39.595 [ERROR] [org.gradle.BuildExceptionReporter] %(#ff3333)[FAILURE: Build failed w ith an exception.] 15:36:39.608 [ERROR] [org.gradle.BuildExceptionReporter] 15:36:39.616 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong: 15:36:39.623 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for ta sk ':reobf'. 15:36:39.635 [ERROR] [org.gradle.BuildExceptionReporter] > MALFORMED 15:36:39.644 [ERROR] [org.gradle.BuildExceptionReporter] 15:36:39.652 [ERROR] [org.gradle.BuildExceptionReporter] * Try: 15:36:39.669 [ERROR] [org.gradle.BuildExceptionReporter] Run with –stacktrace o ption to get the stack trace. 15:36:39.686 [LIFECYCLE] [org.gradle.BuildResultLogger] 15:36:39.694 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED 15:36:39.705 [LIFECYCLE] [org.gradle.BuildResultLogger] 15:36:39.712 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 37.332 secs 15:36:39.728 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache artifact-at-url.bin (C:\Users\antoine\.gradle\caches\modules-2\meta data-2.12\artifact-at-url.bin) 15:36:39.733 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache module-metadata.bin (C:\Users\antoine\.gradle\caches\modules-2\meta data-2.12\module-metadata.bin) 15:36:39.741 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache artifact-at-repository.bin (C:\Users\antoine\.gradle\caches\modules -2\metadata-2.12\artifact-at-repository.bin) 15:36:39.747 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache module-versions.bin (C:\Users\antoine\.gradle\caches\modules-2\meta data-2.12\module-versions.bin) 15:36:39.758 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin g lock on artifact cache (C:\Users\antoine\.gradle\caches\modules-2). 15:36:39.765 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin g lock on buildscript class cache for build file 'C:\Users\antoine\Desktop\Moddi ng 2\build.gradle' (C:\Users\antoine\.gradle\caches\2.0\scripts\build_7rdp9sqbe4 jja4hr8e7n3bu177\ProjectScript\buildscript). 15:36:39.772 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin g lock on no_buildscript class cache for build file 'C:\Users\antoine\Desktop\Mo dding 2\build.gradle' (C:\Users\antoine\.gradle\caches\2.0\scripts\build_7rdp9sq be4jja4hr8e7n3bu177\ProjectScript\no_buildscript). 15:36:39.797 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache taskArtifacts.bin (C:\Users\antoine\Desktop\Modding 2\.gradle\2.0\t askArtifacts\taskArtifacts.bin) 15:36:39.801 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache outputFileStates.bin (C:\Users\antoine\Desktop\Modding 2\.gradle\2. 0\taskArtifacts\outputFileStates.bin) 15:36:39.810 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache fileHashes.bin (C:\Users\antoine\Desktop\Modding 2\.gradle\2.0\task Artifacts\fileHashes.bin) 15:36:39.821 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCach e ] C losing cache fileSnapshots.bin (C:\Users\antoine\Desktop\Modding 2\.gradle\2.0\t askArtifacts\fileSnapshots.bin) 15:36:39.831 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasin g lock on task history cache (C:\Users\antoine\Desktop\Modding 2\.gradle\2.0\tas kArtifacts). 15:36:39.848 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine .store.CachedStoreFactory ] R esolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, tot al: 0.0 secs) 15:36:39.859 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine .store.CachedStoreFactory ] R esolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs , total: 0.0 secs) 15:36:39.864 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine .store.ResolutionResultsStoreFactory ] D eleted 2 resolution results binary files in 0.02 secs 15:36:39.867 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.me mcache.InMemoryCachedRepositoryFactory ] I n-memory dependency metadata cache closed. Repos cached: 11, cache instances: 5, modules served from cache: 15, artifacts: 4 C:\Users\antoine\Desktop\Modding 2>
Malheureusement je ne comprend pas d’ou vient mon erreur surtout que tout fonctionne sur eclipse.
-
* What went wrong: Execution failed for task ':reobf'. > MALFORMED
-
Merci Robin mais avant de poster j’ai déjà fait une recherche et essayer les solutions proposé mais sans aucun sucée malheureusement ……
-
Tu as fait tout ce que j’ai dit ici : http://www.minecraftforgefrance.fr/showthread.php?tid=1625&highlight=MALFORMED
-
J’ai verifié les noms de toutes mes textures et de toutes mes classes….
Et j’ai bien supprimé le dossier Build sans aucun résultat.
-
Résolu je ne sais pas pourquoi mais ça remarche a force de tout bidouiller. Merci