gradle build error
-
error:
PS C:\Users\sex\fart\LiquidBounce b72 Custom> gradle build FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\sex\fart\LiquidBounce b72 Custom\1.8.9-Forge\build.gradle' line: 29 * 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 1s
build.gradle file:
buildscript { repositories { jcenter() mavenLocal() mavenCentral() maven { url 'https://files.minecraftforge.net/maven' } maven { url 'https://plugins.gradle.org/m2' } maven { url 'https://repo.spongepowered.org/maven' } } dependencies { classpath group: 'org.jetbrains.kotlin', name: 'kotlin-gradle-plugin', version: kotlin_version classpath group: 'net.minecraftforge.gradle', name: 'ForgeGradle', version: '2.1-SNAPSHOT' 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' 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:-SNAPSHOT' compile 'com.github.TheAltening:API-Java-AuthLib:-SNAPSHOT' 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.json:json')) 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
-
@fart-sex said in gradle build error:
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.
Did you try that?
-
yes and yes
-
@fart-sex stop sh*tposting (optional) dont try to be a sigma fan by calling omikron allah (required)
-
fucking retard where did you see 'shit post' here?
-
@ender1355 said in gradle build error:
@fart-sex stop sh*tposting (optional) dont try to be a sigma fan by calling omikron allah (required)
@ender1355 said in gradle build error:
fart-sex said in gradle build error:
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.
Did you try that?
fart-sex said in gradle build error:
yes and yes
Run with --stacktrace option to get the stack trace. Run with --info
one yes he said
--debug option to get more log output. Run with --scan to get full insights.
second yes he saidWhere the fuck is the shitpost
-
@fart-sex i didnt say it was here
-
@fart-sex gradlew -gensources
then do gradlew build, worked for me, -
doesnt work
PS C:\Users\sex\fart\LiquidBounce b72 Custom> gradle -gensources Welcome to Gradle 7.0! Here are the highlights of this release: - File system watching enabled by default - Support for running with and building Java 16 projects - Native support for Apple Silicon processors - Dependency catalog feature preview For more details see https://docs.gradle.org/7.0/release-notes.html Starting a Gradle Daemon (subsequent builds will be faster) FAILURE: Build failed with an exception. * Where: Build file 'C:\Users\sex\fart\LiquidBounce b72 Custom\1.8.9-Forge\build.gradle' line: 29 * 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 1m 10s
-
@fart-sex use b73
-
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
-
@fart-sex download latest gradle
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
-
@fart-sex add mvncenteral to the build.gradle
-
im trying to get an answer, not a fucking joke
-
@fart-sex try downloading a new lb src (legacy) and use gradlew build it should work
-
I tried with fdp client, legacy liquidbounce
-
@fart-sex
feel me kidi think its an java related thing, did you use 8? -
yes java 8
-
@fart-sex use jdk 16 it works for me
-
prob the source code let me check the code for u
and check if ur pipes are dirty