/*
 * This file is part of Applied Energistics 2.
 * Copyright (c) 2013 - 2014, AlgorithmX2, All rights reserved.
 *
 * Applied Energistics 2 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * Applied Energistics 2 is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Applied Energistics 2.  If not, see <http://www.gnu.org/licenses/lgpl>.
 */

repositories {
    mavenLocal()

    maven {
        url "https://cursemaven.com"
    }

    /*
    maven {
        name = "CurseForge"
        url = "https://minecraft.curseforge.com/api/maven/"
    }
    */

    maven {
        name "Mobius"
        url "http://mobiusstrip.eu/maven"
    }

    maven {
        name = "JEI repo"
        url "http://dvs1.progwml6.com/files/maven"
    }

    maven {
        name "Ellpeck"
        url "https://maven.ellpeck.de"
    }

    maven {
        name = "IC2 repo"
        url = "http://maven.ic2.player.to"
    }

    maven {
        name = "CoFH Maven"
        url = "http://maven.covers1624.net"
    }

    maven { // TheOneProbe
        name 'tterrag maven'
        url "http://maven.tterrag.com/"
    }

    maven { // McJtyLib
        name 'mcjty'
        url "http://maven.k-4u.nl/"
    }

    maven { // CraftTweaker
        name 'jared maven'
        url "http://maven.blamejared.com/"
    }

    //maven { // modmaven, maven proxy
    //    name 'modmaven'
    //    url "https://modmaven.k-4u.nl/"
    //}
}

configurations {
    mods
}

dependencies {
    // deobfCompile "gregtechce:gregtech:1.12.2:1.15.1.735"
    // installable runtime dependencies
    deobfCompile "curse.maven:gregtechceu-557242:3949406"

    compileOnly "curse.maven:chisel-235279:2915375"

    //mods "mcp.mobius.waila:Hwyla:${hwyla_version}"
    mods "curse.maven:hwyla-253449:2568751"
    mods "net.industrial-craft:industrialcraft-2:${ic2_version}:dev"
    mods "mcjty.theoneprobe:TheOneProbe-${minecraft_version}:${top_version}"
    
    // compile against provided APIs
    compileOnly "mezz.jei:jei_${minecraft_version}:${jei_version}:api"
    //compileOnly "mcp.mobius.waila:Hwyla:${hwyla_version}"
    compileOnly "curse.maven:hwyla-253449:2568751"
    //Code chicken lib, GTCE dependency
    deobfCompile "curse.maven:CCL-242818:2779848"

    compileOnly "curse.maven:recipe-stages-280554:3405072"
    compileOnly "curse.maven:item-stages-280316:2696769"
    compileOnly "curse.maven:game-stages-268655:2951844"
    compileOnly "net.darkhax.tesla:Tesla-1.12.2:${tesla_version}"
    compileOnly "net.industrial-craft:industrialcraft-2:${ic2_version}:api"
    compileOnly "mcjty.theoneprobe:TheOneProbe-1.12:${top_version}:api"
    compileOnly "cofh:CoFHCore:${cofhcore_version}:deobf"
    compileOnly "CraftTweaker2:CraftTweaker2-API:${crafttweaker_version}"
    compileOnly "curse.maven:inventory-tweaks-223094:2482482"
    compileOnly "curse.maven:inventory-bogo-sorter-632327:3975184"
    compileOnly "team.chisel.ctm:CTM:${ctm_version}"
    compileOnly "de.ellpeck.actuallyadditions:ActuallyAdditions:1.12.2-r152.16:api"
    deobfCompile "net.sengir.forestry:forestry_${minecraft_version}:$forestry_version"

    // at runtime, use the full JEI jar
    runtime "mezz.jei:jei_${minecraft_version}:${jei_version}"

    // unit test dependencies
    testCompile "junit:junit:4.12"
}
