• 1

    posted a message on Compile Problem with ic2 api

    Little rusty, been a while, just finished upgrading my mod to 1.7.10 and when I try to compile it, it's not finding the ic2 api. Everything runs fine in eclipse, build path includes the jar and IC2 functions work fine.

    error from compile:

    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    /forge/build/sources/java/cytools2/cytools2.java:47: error: package ic2 does not exist
    import ic2.*;
    1 error
    1 warning
    :compileJava FAILED

    I have industrialcraft-2-2.2.767-experimental-dev.jar in /libs (from gradle root). I have tried every configuration under the sun in build.gradle dependencies and none of them seem to work. I'm probably missing something stupid but I can't figure it out.


    Ice:forge cylynex$ cat build.gradle
    buildscript {
    repositories {
    maven {
    name = "forge"
    url = "http://files.minecraftforge.net/maven"
    maven {
    name = "sonatype"
    url = "https://oss.sonatype.org/content/repositories/snapshots/"

    dependencies {
    classpath 'net.minecraftforge.gradle:ForgeGradle:1.2-SNAPSHOT'


    /*repositories {
    maven {
    name = "ic2"
    url = "http://maven.ic2.player.to/"

    apply plugin: 'forge'

    version = "2.0"
    group= "cytools2.cytools2"
    archivesBaseName = "cytools"

    minecraft {
    version = "1.7.10-"
    runDir = "eclipse"

    dependencies {
    // 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 '/forge/libs/industrialcraft-2-2.2.767-experimental-dev.jar'
    // compile files('lib/industrialcraft-2-2.2.767-experimental-dev.jar')
    // compile fileTree (dir: 'libs', include: ['*.jar'])
    // compile 'net.industrial-craft:industrialcraft-2:2.2.767-experimental-dev:api'
    // api 'net.industrial-craft:industrialcraft-2:2.2.767-experimental-dev:api'

    // 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'

    Mod compiles fine if I comment out the ic2 imports and recipes etc.

    Any help appreciated.

    Posted in: Modification Development
  • 1

    posted a message on 1.6.4 Thaum Recipes V. 1.0 Thaumcraft Addon
    Be nice to include what it actually adds.
    Posted in: Minecraft Mods
  • 1

    posted a message on [1.6.4] Team CoFH Mods - Thermal Expansion
    Anyone else have trouble with the pipes? I've noticed that the fluiducts supplying gas to my compression dynamos after a chunk unload will not let the fluid run all the way, it will stop at some point and you have to break and replace it to get the fuel to flow. I've also seen this behavior in some itemducts in my factory, where product from the macerators, set on a round robin export, will just kinda bounce around between the inputs till i break / replace it, then it will work. Power conduits, same thing.
    Posted in: Minecraft Mods
  • 1

    posted a message on [Server] SuperServer! Make your server life better!
    Would be a plus if you actually stated what it is. Managed to get the donate links, subscribe links, and credits, but no explanation of what it is.
    Posted in: Minecraft Tools
  • To post a comment, please .