shadowjar Questions
9
Solved
In tweaking my buildfile, I seem to have encountered a bug with mainClassName:
thufir@dur:~/NetBeansProjects/HelloSeleniumWorld$
thufir@dur:~/NetBeansProjects/HelloSeleniumWorld$ ./gradlew clean ...
Zest asked 19/12, 2018 at 14:37
3
Solved
I have a simple gRPC client packaged in a jar by Gradle with shadowJar. When I run the main() with IntelliJ, the RPC is sent successfully. When I run it with java -jar, I get an exception:
Update: ...
Speedometer asked 9/8, 2022 at 5:7
2
Solved
I have a gradle project with 8 child projects and a configured shadowjar task to create an "all" jar. The toplevel project is setup to have dependencies to all its children, this tells shadowjar wh...
2
I am using shadow Gradle plugin to build JAR, containing all referenced jars inside.
In my build.gradle I have only
apply plugin: "com.github.johnrengelman.shadow"
and
jar {
manifest {
attr...
Barrel asked 30/11, 2016 at 19:56
2
Solved
Writing this for users who have future issues like me. Libraries that are built on the Typesafe config typically use their own reference.conf files and refer to certain configuration keys. When bui...
Appeasement asked 17/12, 2015 at 3:32
1
We want to produce an Android Archive Library (AAR) and distribute to our clients.
In this Android lib we are using some third party dependencies, and we want to protect them from any version confl...
Hap asked 21/11, 2019 at 13:23
1
How do I specify the Main-Class attribute in the ShadowJar once it's imported?
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.Shadow...
Cornhusk asked 16/12, 2018 at 23:27
1
We have a huge codebase to migrate from dagger 1 to dagger 2 but we would like to do it step by step. For that we were thinking to have both versions as our project dependency and do the migration ...
1
Solved
Build failed:
thufir@dur:~/NetBeansProjects/kotlin_dsl$
thufir@dur:~/NetBeansProjects/kotlin_dsl$ gradle clean run
> Configure project :
e: /home/thufir/NetBeansProjects/kotlin_dsl/build.gr...
Tosch asked 7/2, 2018 at 9:12
1
Solved
build fails, classpath error:
thufir@dur:~/NetBeansProjects/kotlinShadowJar$
thufir@dur:~/NetBeansProjects/kotlinShadowJar$ gradle clean
FAILURE: Build failed with an exception.
* What went wro...
Windsail asked 7/2, 2018 at 12:6
2
Solved
I am using gradle v3.4 and shadowjar v1.2.4. I added the following task but I get an error copied below when doing this. I added a task of type ShadowJar in order to be able to generate different j...
Marinetti asked 15/5, 2017 at 15:32
2
Solved
I'm working on integrating proguard to my gradle build for an application written in Kotlin. I'm finding that proguard is stripping out the Kotlin standard library (as it should in my simple Hello ...
1
Solved
I have my main class:
public class Main {
public static void main(String[] args){
Spark.port(getHerokuAssignedPort());
get("/hello", (req, res) -> "Hello Heroku World");
}
private stat...
1
© 2022 - 2024 — McMap. All rights reserved.