Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.java-decompiler:jd-gui:v1.6.4'
}
dependencies {
implementation("com.github.java-decompiler:jd-gui:v1.6.4")
}
<dependency>
<groupId>com.github.java-decompiler</groupId>
<artifactId>jd-gui</artifactId>
<version>v1.6.4</version>
</dependency>
libraryDependencies += "com.github.java-decompiler" % "jd-gui" % "v1.6.4"
:dependencies [[com.github.java-decompiler/jd-gui "v1.6.4"]]
JD-GUI, a standalone graphical utility that displays Java sources from CLASS files.
JD-GUI is a standalone graphical utility that displays Java source codes of ".class" files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields.
> git clone https://github.com/java-decompiler/jd-gui.git
> cd jd-gui
> ./gradlew build
generate :
> ./gradlew idea
generate Idea Intellij project
> ./gradlew eclipse
generate Eclipse project
> java -classpath jd-gui-x.y.z.jar;myextension1.jar;myextension2.jar org.jd.gui.App
launch JD-GUI with your extensions
Released under the GNU GPL v3.
Did JD-GUI help you to solve a critical situation? Do you use JD-Eclipse daily? What about making a donation?