diff --git a/build.gradle.kts b/build.gradle.kts index e9b1ce55..3266fae6 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -31,6 +31,7 @@ dependencies { implementation("org.apache.httpcomponents:httpmime:4.5.14") implementation("org.apache.logging.log4j:log4j-api:2.20.0") implementation("org.apache.logging.log4j:log4j-core:2.20.0") + implementation("com.squareup.okhttp3:okhttp:4.12.0") implementation("org.graalvm.js:js:22.3.2") testImplementation(enforcedPlatform("org.junit:junit-bom:5.10.0")) testImplementation("org.junit.jupiter:junit-jupiter") @@ -68,7 +69,7 @@ tasks.withType { attributes["Implementation-Version"] = archiveVersion attributes["Multi-Release"] = "true" } - + // To add all of the dependencies otherwise a "NoClassDefFoundError" error from(sourceSets.main.get().output)