Skip to content

Commit 47ca317

Browse files
committed
init
0 parents  commit 47ca317

38 files changed

Lines changed: 3076 additions & 0 deletions

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
.idea
9+
*.iws
10+
*.iml
11+
*.ipr
12+
out/
13+
!**/src/main/**/out/
14+
!**/src/test/**/out/
15+
16+
### Eclipse ###
17+
.apt_generated
18+
.classpath
19+
.factorypath
20+
.project
21+
.settings
22+
.springBeans
23+
.sts4-cache
24+
bin/
25+
!**/src/main/**/bin/
26+
!**/src/test/**/bin/
27+
28+
### NetBeans ###
29+
/nbproject/private/
30+
/nbbuild/
31+
/dist/
32+
/nbdist/
33+
/.nb-gradle/
34+
35+
### VS Code ###
36+
.vscode/
37+
38+
### Mac OS ###
39+
.DS_Store

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2024 selfancy
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Decompiler and Source code Debugging plugin for IntelliJ IDEA
2+
3+
> JetBrains plugin home: https://plugins.jetbrains.com/plugin/24763-codespy
4+
>
5+
> Supports decompiling Java class file to source code file.
6+
>
7+
> Built on the Fernflower decompiler engine supported for debugging.
8+
>
9+
> Write decompiled file named *-source.jar at the class or jar file location.
10+
11+
## Features
12+
13+
Version: 1.0
14+
- Support decompiling classes from class files
15+
- Support decompiling classes from JAR files
16+
- Support decompiling classes from imported module library
17+
- Debugging support for decompiled source code

build.gradle

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
plugins {
2+
id "java"
3+
id "org.jetbrains.intellij" version "1.16.0"
4+
}
5+
6+
repositories {
7+
mavenCentral()
8+
maven { url "https://www.jetbrains.com/intellij-repository/releases" }
9+
maven { url "https://www.jetbrains.com/intellij-repository/snapshots" }
10+
}
11+
12+
intellij {
13+
version = "2022.2"
14+
// version = "2024.1"
15+
plugins = ['java']
16+
// plugins = ['java', 'org.jetbrains.java.decompiler']
17+
18+
pluginName = "CodeSpy"
19+
updateSinceUntilBuild = false
20+
}
21+
22+
dependencies {
23+
// implementation('com.jetbrains.intellij.java:java-decompiler:241.15989.150') {
24+
// transitive = false
25+
// }
26+
implementation 'com.jetbrains.intellij.java:java-decompiler-engine:241.15989.150'
27+
compileOnly 'org.projectlombok:lombok:1.18.30'
28+
annotationProcessor 'org.projectlombok:lombok:1.18.30'
29+
}
30+
31+
configurations {
32+
compileOnly {
33+
extendsFrom annotationProcessor
34+
}
35+
}
36+
37+
//patchPluginXml {
38+
// sinceBuild = "222"
39+
// untilBuild = "241.*"
40+
//}
41+
42+
signPlugin {
43+
certificateChain = System.getenv("CERTIFICATE_CHAIN")
44+
privateKey = System.getenv("PRIVATE_KEY")
45+
password = System.getenv("PRIVATE_KEY_PASSWORD")
46+
}
47+
48+
publishPlugin {
49+
token = System.getenv("PUBLISH_TOKEN")
50+
}

docs/select-jar-screenshot.png

75.7 KB
Loading

docs/select-module-screenshot.png

205 KB
Loading

gradle.properties

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
group=com.selfancy.plugin
2+
version=1.0.0
3+
4+
sourceCompatibility=17
5+
targetCompatibility=17
6+
7+
org.gradle.configuration-cache=true
8+
org.gradle.caching=true
9+
org.gradle.parallel=true
10+
org.gradle.jvmargs=-Dfile.encoding=UTF-8
11+
org.gradle.unsafe.configuration-cache=false
12+
dependencyCacheDays=1

gradle/wrapper/gradle-wrapper.jar

59.3 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri Mar 29 10:44:13 CST 2024
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)