You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What went wrong:
A problem occurred evaluating root project 'OpenComputersX86-master'.
Could not set unknown property 'runDir' for root project 'OpenComputersX86-master' of type org.gradle.api.Project.
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.
this is a 10 yr old mod using forge gradle 4.0.1 that was originally on gradle 2.0 and forgegradle 1.2 so imma put my build.gradle file here. yes i removed anything that got in my way and now im at a dead end
minecraft (
version = "1.16.5-36.2.42"
runDir = "eclipse/assets"
)
apply plugin: 'forge'
// you may put jars on which you depend on in ./libs
// or you may define them like so..
//compile "some.group:artifact:version:classifier"
//compile "some.group:artifact:version"
// real examples
//compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
compile files("libs/OpenComputers-MC1.7.10-1.5.2.9-universal.jar") {
builtBy "fakecompile"
}
compile files("jpc/src/org/")
compile files("OCLights2/src/main/java/ds/")
processResources
{
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
// replace stuff in mcmod.info, nothing else
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version
}
// copy everything else, thats not the mcmod.info
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
👋 We use the issue tracker exclusively for final bug reports and feature requests. However, this issue appears to be better suited for the Forge Support Forums or Forge Discord. Please create a new topic on the support forum with this issue or ask in the #tech-support channel in the Discord server, and the conversation can continue there.
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Users\Damgh\Downloads\OpenComputersX86-master\OpenComputersX86-master\build.gradle' line: 23
What went wrong:
A problem occurred evaluating root project 'OpenComputersX86-master'.
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.0/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
this is a 10 yr old mod using forge gradle 4.0.1 that was originally on gradle 2.0 and forgegradle 1.2 so imma put my build.gradle file here. yes i removed anything that got in my way and now im at a dead end
buildscript {
repositories {
mavenCentral()
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
}
maven {
name = "sonatype"
url = "https://oss.sonatype.org/content/repositories/snapshots/"
}
maven { url "http://jcenter.bintray.com" }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:4.0.1'
}
}
version = "-1.16.5-0.1.0"
group= "lperkins2.ocx86" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
minecraft (
version = "1.16.5-36.2.42"
runDir = "eclipse/assets"
)
apply plugin: 'forge'
task fakecompile << {
println 'fake compiling classes'
}
processResources
{
// this will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
}
buildscript {
repositories {
maven { url = 'https://maven.minecraftforge.net/' }
mavenCentral()
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:4.0.1'
}
}
The text was updated successfully, but these errors were encountered: