Jack Bear
01/26/2023, 11:14 PMJack Bear
01/26/2023, 11:14 PMJack Bear
01/26/2023, 11:15 PMSUCHITRA GIRI
01/27/2023, 1:17 AMGradle 4.10.2
, project deployed on google app engine . So it might be the reason that new version of recapcha dependency causing problem.
Here is the error can someone please help to figure it out that which recaptcha dependency should l use to my project's gradle version??Slackbot
01/27/2023, 1:19 AMJack Bear
01/27/2023, 2:04 AMJack Bear
01/27/2023, 2:04 AMJack Bear
01/27/2023, 2:31 AM> Configure project :
Java: 17.0.5, JVM: 17.0.5+1-b653.23 (JetBrains s.r.o.), Arch: amd64
Download <https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.5.9/fastutil-8.5.9.jar>, took 14 m 38 s 384 ms (23.38 MB)
Download <https://maven.minecraftforge.net/com/ibm/icu/icu4j/71.1/icu4j-71.1.jar>, took 22 m 2 s 587 ms (13.96 MB)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'base-defense-mod'.
> Could not resolve all files for configuration ':_compileJava_1'.
> Could not download icu4j-71.1.jar (com.ibm.icu:icu4j:71.1)
> Could not get resource '<https://maven.minecraftforge.net/com/ibm/icu/icu4j/71.1/icu4j-71.1.jar>'.
> Premature end of Content-Length delimited message body (expected: 13,963,762; received: 9,553,048)
> Could not download fastutil-8.5.9.jar (it.unimi.dsi:fastutil:8.5.9)
> Could not get resource '<https://maven.minecraftforge.net/it/unimi/dsi/fastutil/8.5.9/fastutil-8.5.9.jar>'.
> Premature end of Content-Length delimited message body (expected: 23,376,043; received: 6,136,040)
* Try:
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
...
Slackbot
01/27/2023, 2:32 AMSlackbot
01/27/2023, 8:10 AMDariusz Kuc
01/27/2023, 3:10 PMJack Bear
01/27/2023, 5:44 PMAndrew Lethbridge
01/27/2023, 11:30 PMplugins {
kotlin("jvm") version "1.7.20"
id("companyName-java-gradle-plugin")
}
Everything up to this point works fine, no issues whatsoever.
I recently added Kotlin as a top level language in this convention plugin so I am able to switch my plugin block to
plugins {
id("companyName-kotlin-gradle-plugin")
}
This required me to add the Jetbrains Kotlin plugin as an implementation dependency in my own build script vs getting that code from the plugins block and Gradle plugin portal.
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.20")
I am applying the plugin internally like so
class InternalKotlinPlugin : Plugin<Project>
{
override fun apply(project: Project) {
project.plugins.apply(KotlinPlatformJvmPlugin::class.java)
// other convention logic.
}
}
This all seems to work fine from a compilation perspective but the addition of that dependency seems to have changed my buildscript classpath and I am seeing weird issues at runtime which leads me to believe its a classpath issue, but I haven’t proven this to be true yet.
My ultimate question is:
Is there any fundamental difference in the buildscript classpath between
plugins {
kotlin("jvm") version "1.7.20"
}
vs
plugins {
id("companyName-kotlin-gradle-plugin")
}
Where that custom plugin has an implementation dependency against the Kotlin plugin and is applying it via a class reference instead of the buildscript DSL?Ivan Alvarado
01/27/2023, 11:36 PM----- End of the daemon log -----
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)
We've identified a subset of steps this only happens to. We've added functionality to capture the daemon logs that live in /.gradle/daemon/<gradle version>/daemon*.log
, however there's a lot of noise in the logs.
What are some things that we should be looking for to help us diagnose why the daemon crashed? Or, what are some common causes? We've tried increasing the memory size for the daemon by updating -Xmx
to 16GB for kotlin.daemon.jvm.options
, as well as, -Xmx
for org.gradle.jvmargs
.
Thanks in advance 🙏Matthew Von-Maszewski
01/28/2023, 1:36 AMSlackbot
01/28/2023, 2:38 PMManuel Dahmen
01/28/2023, 7:12 PMManuel Dahmen
01/28/2023, 7:14 PMSlackbot
01/28/2023, 9:54 PMSlackbot
01/30/2023, 9:57 AMSlackbot
01/30/2023, 9:57 AMSlackbot
01/30/2023, 1:00 PMNishant Tyagi
01/30/2023, 6:59 PMSlackbot
01/30/2023, 7:00 PMSlackbot
01/30/2023, 9:31 PMSlackbot
01/31/2023, 10:45 AMSlackbot
01/31/2023, 12:17 PMSlackbot
01/31/2023, 2:42 PMMohammad
01/31/2023, 8:55 PMSmart Chocolate
01/31/2023, 10:19 PM