anatawa12 / ForgeGradle-1.2

This is only for FG_1.2(for minecraft 1.7.10). Minecraft mod development framework used by Forge and FML for the gradle build system
GNU Lesser General Public License v2.1
82 stars 32 forks source link

Can't get jdt #52

Closed anatawa12 closed 3 years ago

anatawa12 commented 3 years ago

On some forge project

anatawa12:~/IdeaProjects/ASM-main (use-new-gradle) $ ./gradlew wrapper

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'asm'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find org.eclipse.jdt:org.eclipse.jdt.core:3.10.0.v20131029-1755.
     Searched in the following locations:
       - https://jcenter.bintray.com/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - http://files.minecraftforge.net/maven/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://plugins.gradle.org/m2/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
     Required by:
         project : > com.anatawa12.forge:ForgeGradle:1.2-1.0.4 > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT:20150109.190932-47

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 6s
anatawa12 commented 3 years ago

reproduced at @4286706b

root@006026c7091d:/project# ./gradlew build
> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not resolve all files for configuration ':compileClasspath'.
   > Could not find org.eclipse.jdt:org.eclipse.jdt.core:3.10.0.v20131029-1755.
     Searched in the following locations:
       - file:/root/.m2/repository/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - http://files.minecraftforge.net/maven/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://repo.eclipse.org/content/groups/eclipse/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://repo.maven.apache.org/maven2/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
       - https://libraries.minecraft.net/org/eclipse/jdt/org.eclipse.jdt.core/3.10.0.v20131029-1755/org.eclipse.jdt.core-3.10.0.v20131029-1755.pom
     Required by:
         project : > net.minecraftforge.srg2source:Srg2Source:3.2-SNAPSHOT:20150109.190932-47

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 40s
1 actionable task: 1 executed
anatawa12 commented 3 years ago

at HEAD, this ForgeGradle uses Srg2Source:4.2.7 so this problem has been resolved.