7 juil. 2019, 20:21

salut, j’ai essayer de compiler mon mod en faisant gradlew buil et voila ce que sa me met dans l’invite de commande

#################################################
         ForgeGradle 1.2-SNAPSHOT-fb514d3        
  https://github.com/MinecraftForge/ForgeGradle  
#################################################
               Powered by MCP unknown               
             http://modcoderpack.com             
         by: Searge, ProfMobius, Fesh0r,         
         R4wk, ZeuX, IngisKahn, bspkrs           
#################################################
:compileApiJava UP-TO-DATE
:processApiResources UP-TO-DATE
:apiClasses UP-TO-DATE
:sourceMainJava
:compileJavawarning: [options] bootstrap class path not set in conjunction with -source 1.6
C:\Users\vinc.lasserre5\Desktop\dossier serveur\programme\Mod Rhodium\build\sources\java\fr\vinvin40220\Rhodium\init\StructureGenMod.java:15: error: strings in switch are not supported in -source 1.6
        switch(string)
              ^
  (use -source 7 or higher to enable strings in switch)
Note: C:\Users\vinc.lasserre5\Desktop\dossier serveur\programme\Mod Rhodium\build\sources\java\fr\vinvin40220\Rhodium\items\ItemChestRadar.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error
1 warning
 FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* 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: 19.801 secs