Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

LiquidBounce Forum

  1. Home
  2. Kotlin/Java
  3. gradle build error

gradle build error

Scheduled Pinned Locked Moved Kotlin/Java
35 Posts 11 Posters 7.6k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • DreamWasFuckedD DreamWasFucked

    doesnt work x2

    error:

    FAILURE: Build failed with an exception.
    
    * Where:
    Build file 'C:\Users\sex\fart\LiquidBounce b72 Custom\1.8.9-Forge\build.gradle' line: 30
    
    * What went wrong:
    A problem occurred evaluating project ':1.8.9-Forge'.
    > org.gradle.api.tasks.SourceSet.getCompileConfigurationName()Ljava/lang/String;
    
    * 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 8.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/7.0/userguide/command_line_interface.html#sec:command_line_warnings
    
    BUILD FAILED in 27s
    
    

    (b73)
    build.gradle file:

    buildscript {
    
        repositories {
            jcenter()
            mavenLocal()
            mavenCentral()
    
            maven { url 'https://maven.minecraftforge.net/' }
            maven { url 'https://plugins.gradle.org/m2' }
            maven { url 'https://repo.spongepowered.org/maven' }
            maven { url 'https://jitpack.io' }
        }
    
        dependencies {
            classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlin_version
            classpath group: 'com.github.liulihaocai', name: 'ForgeGradle', version: 'd974a94268'
            classpath group: 'org.spongepowered', name: 'mixingradle', version: '0.6-SNAPSHOT'
            classpath group: 'com.github.jengelman.gradle.plugins', name: 'shadow', version: '4.0.4'
        }
    }
    
    // Languages
    apply plugin: 'java'
    apply plugin: 'kotlin'
    
    // IDE
    apply plugin: 'idea'
    
    // Minecraft
    apply plugin: 'net.minecraftforge.gradle.forge'
    apply plugin: 'org.spongepowered.mixin'
    
    // Jar packaging
    apply plugin: 'com.github.johnrengelman.shadow'
    
    sourceCompatibility = JavaVersion.VERSION_1_8
    targetCompatibility = JavaVersion.VERSION_1_8
    compileJava.options.encoding = 'UTF-8'
    
    sourceSets {
        main.java.srcDirs += 'src/main/java'
        main.java.srcDirs += '../shared/main/java'
        main.resources.srcDirs += '../shared/main/resources'
    }
    
    
    compileKotlin {
        kotlinOptions {
            jvmTarget = '1.8'
        }
    }
    
    compileTestKotlin {
        kotlinOptions {
            jvmTarget = '1.8'
        }
    }
    
    idea {
        module {
            inheritOutputDirs = true
        }
    }
    
    archivesBaseName = 'LiquidBounce'
    
    minecraft {
        version = '1.8.9-11.15.1.2318-1.8.9'
        runDir = 'run'
        mappings = 'stable_22'
        makeObfSourceJar = true
    }
    
    repositories {
        mavenLocal()
        mavenCentral()
        jcenter()
    
        maven { url 'https://jitpack.io' }
        maven { url 'https://repo.spongepowered.org/maven/' }
    }
    
    dependencies {
        compile('org.spongepowered:mixin:0.7.10-SNAPSHOT') {
            exclude module: 'launchwrapper'
        }
    
        compile 'com.jagrosh:DiscordIPC:0.4'
        compile group: 'org.jetbrains.kotlin', name: 'kotlin-stdlib', version: kotlin_version
    
        implementation 'com.github.TheAltening:TheAltening4j:d0771f42d3'
        implementation 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
        compile 'com.github.TheAltening:TheAltening4j:api-2.0-22541fa70f-1'
        compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT'
        compile('commons-io:commons-io') {
            version {
                strictly '2.5'
            }
        }
    
        compile fileTree(include: ['*.jar'], dir: 'libs')
    }
    
    processResources {
        inputs.property 'version', project.version
        inputs.property 'mcversion', project.minecraft.version
    
        from(sourceSets.main.resources.srcDirs) {
            include 'mcmod.info'
    
            expand 'version':project.version, 'mcversion':project.minecraft.version
        }
    
        from(sourceSets.main.resources.srcDirs) {
            exclude 'mcmod.info'
        }
    
        rename '(.+_at.cfg)', 'META-INF/$1'
    }
    
    mixin {
        add sourceSets.main, 'liquidbounce.mixins.refmap.json'
    }
    
    jar {
        manifest.attributes(
                'MixinConfigs': 'liquidbounce.forge.mixins.json',
                'tweakClass': 'org.spongepowered.asm.launch.MixinTweaker',
                'TweakOrder': 0,
                'FMLCorePluginContainsFMLMod': 'net.ccbluex.liquidbounce.injection.forge.MixinLoader',
                'FMLCorePlugin': 'net.ccbluex.liquidbounce.injection.forge.TransformerLoader',
                'FMLAT': 'liquidbounce_at.cfg',
                'Manifest-Version': 1.0,
                'Main-Class': 'net.ccbluex.liquidinstruction.LiquidInstructionKt'
        )
    }
    
    shadowJar {
        dependencies {
            include(dependency('org.spongepowered:mixin'))
            include(dependency('com.jagrosh:DiscordIPC'))
            include(dependency('org.slf4j:slf4j-api'))
            include(dependency('log4j:log4j:1.2.17'))
            include(dependency('org.scijava:native-lib-loader'))
            include(dependency('com.kohlschutter.junixsocket:junixsocket-common'))
            include(dependency('com.kohlschutter.junixsocket:junixsocket-native-common'))
    
            include(dependency('org.jetbrains.kotlin:kotlin-stdlib'))
    
            include(dependency('com.github.TheAltening:API-Java'))
            include(dependency('com.github.TheAltening:API-Java-AuthLib'))
        }
    
        exclude 'dummyThing'
        exclude 'LICENSE.txt'
    
        classifier = ''
    }
    
    reobf { shadowJar { mappingType = 'SEARGE' } }
    tasks.reobfShadowJar.mustRunAfter shadowJar
    
    configurations {
        external
        compile.extendsFrom external
    }
    
    build.dependsOn shadowJar
    
    0 Offline
    0 Offline
    00
    wrote on last edited by
    #13

    @fart-sex add mvncenteral to the build.gradle

    DreamWasFuckedD 1 Reply Last reply
    0
    • 0 00

      @fart-sex add mvncenteral to the build.gradle

      DreamWasFuckedD Offline
      DreamWasFuckedD Offline
      DreamWasFucked
      wrote on last edited by
      #14

      im trying to get an answer, not a fucking joke

      0 1 Reply Last reply
      0
      • DreamWasFuckedD DreamWasFucked

        im trying to get an answer, not a fucking joke

        0 Offline
        0 Offline
        00
        wrote on last edited by
        #15

        @fart-sex try downloading a new lb src (legacy) and use gradlew build it should work

        DreamWasFuckedD 1 Reply Last reply
        0
        • 0 00

          @fart-sex try downloading a new lb src (legacy) and use gradlew build it should work

          DreamWasFuckedD Offline
          DreamWasFuckedD Offline
          DreamWasFucked
          wrote on last edited by
          #16

          I tried with fdp client, legacy liquidbounce

          ENDER1355E 1 Reply Last reply
          0
          • DreamWasFuckedD DreamWasFucked

            I tried with fdp client, legacy liquidbounce

            ENDER1355E Offline
            ENDER1355E Offline
            ENDER1355
            wrote on last edited by
            #17

            @fart-sex feel me kid i think its an java related thing, did you use 8?

            DreamWasFuckedD 1 Reply Last reply
            0
            • ENDER1355E ENDER1355

              @fart-sex feel me kid i think its an java related thing, did you use 8?

              DreamWasFuckedD Offline
              DreamWasFuckedD Offline
              DreamWasFucked
              wrote on last edited by
              #18

              yes java 8

              0 1 Reply Last reply
              0
              • DreamWasFuckedD DreamWasFucked

                yes java 8

                0 Offline
                0 Offline
                00
                wrote on last edited by
                #19

                @fart-sex use jdk 16 it works for me

                1 Reply Last reply
                0
                • Plumer ManP Offline
                  Plumer ManP Offline
                  Plumer Man
                  wrote on last edited by
                  #20

                  prob the source code let me check the code for u 😉
                  and check if ur pipes are dirty

                  DreamWasFuckedD 1 Reply Last reply
                  0
                  • Plumer ManP Plumer Man

                    prob the source code let me check the code for u 😉
                    and check if ur pipes are dirty

                    DreamWasFuckedD Offline
                    DreamWasFuckedD Offline
                    DreamWasFucked
                    wrote on last edited by
                    #21

                    legacy liquidbounce code

                    1 Reply Last reply
                    0
                    • DreamWasFuckedD Offline
                      DreamWasFuckedD Offline
                      DreamWasFucked
                      wrote on last edited by
                      #22

                      doesnt work

                      1 Reply Last reply
                      0
                      • ? Offline
                        ? Offline
                        A Former User
                        wrote on last edited by
                        #23

                        @bobismymanager yes

                        1 Reply Last reply
                        0
                        • DreamWasFuckedD Offline
                          DreamWasFuckedD Offline
                          DreamWasFucked
                          wrote on last edited by
                          #24

                          yes

                          ENDER1355E 1 Reply Last reply
                          0
                          • DreamWasFuckedD DreamWasFucked

                            yes

                            ENDER1355E Offline
                            ENDER1355E Offline
                            ENDER1355
                            wrote on last edited by
                            #25

                            @fart-sex it has been told me that you are @poop-dealer is that true?

                            ? 1 Reply Last reply
                            0
                            • DreamWasFuckedD Offline
                              DreamWasFuckedD Offline
                              DreamWasFucked
                              wrote on last edited by
                              #26

                              yes ofc1

                              1 Reply Last reply
                              0
                              • ENDER1355E ENDER1355

                                @fart-sex it has been told me that you are @poop-dealer is that true?

                                ? Offline
                                ? Offline
                                A Former User
                                wrote on last edited by
                                #27

                                @ender1355

                                • "it has been told me that"
                                • me, fart-sex and i forgor are 3 different people you braindead
                                ENDER1355E 3 Replies Last reply
                                0
                                • ? A Former User

                                  @ender1355

                                  • "it has been told me that"
                                  • me, fart-sex and i forgor are 3 different people you braindead
                                  ENDER1355E Offline
                                  ENDER1355E Offline
                                  ENDER1355
                                  wrote on last edited by ENDER1355
                                  #28

                                  @poop-dealer

                                  • @BobIsMyManager told me that
                                  • i forgor doesnt have to do anything here you freaking retard
                                  • cap
                                  1 Reply Last reply
                                  0
                                  • ? A Former User

                                    @ender1355

                                    • "it has been told me that"
                                    • me, fart-sex and i forgor are 3 different people you braindead
                                    ENDER1355E Offline
                                    ENDER1355E Offline
                                    ENDER1355
                                    wrote on last edited by
                                    #29

                                    @poop-dealer also why the hell are you pretending to be dort????

                                    1 Reply Last reply
                                    0
                                    • ? A Former User

                                      @ender1355

                                      • "it has been told me that"
                                      • me, fart-sex and i forgor are 3 different people you braindead
                                      ENDER1355E Offline
                                      ENDER1355E Offline
                                      ENDER1355
                                      wrote on last edited by ENDER1355
                                      #30

                                      @poop-dealer you need a responsible parent who doesn't let such a disaster in the forums

                                      1 Reply Last reply
                                      0
                                      • ENDER1355E Offline
                                        ENDER1355E Offline
                                        ENDER1355
                                        wrote on last edited by
                                        #31

                                        "fart sex is sigma bot" in suckma discord

                                        DreamWasFuckedD 1 Reply Last reply
                                        0
                                        • ENDER1355E ENDER1355

                                          "fart sex is sigma bot" in suckma discord

                                          DreamWasFuckedD Offline
                                          DreamWasFuckedD Offline
                                          DreamWasFucked
                                          wrote on last edited by
                                          #32

                                          lol what

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          About
                                          • Terms of Service
                                          • Privacy Policy
                                          • Status
                                          • Contact Us
                                          Downloads
                                          • Releases
                                          • Source code
                                          • License
                                          Docs
                                          • Tutorials
                                          • CustomHUD
                                          • AutoSettings
                                          • ScriptAPI
                                          Community
                                          • Forum
                                          • Guilded
                                          • YouTube
                                          • Twitter
                                          • D.Tube
                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups