Skip to content

Commit 3d411d4

Browse files
committed
release: 1.0.0
- Smart File Recognition
1 parent 5816771 commit 3d411d4

23 files changed

+1015
-0
lines changed

.gitignore

Lines changed: 131 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Created by https://www.toptal.com/developers/gitignore/api/gradle,intellij
2+
# Edit at https://www.toptal.com/developers/gitignore?templates=gradle,intellij
3+
4+
### Intellij ###
5+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
6+
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
7+
8+
# User-specific stuff
9+
.idea/**/workspace.xml
10+
.idea/**/tasks.xml
11+
.idea/**/usage.statistics.xml
12+
.idea/**/dictionaries
13+
.idea/**/shelf
14+
15+
# Generated files
16+
.idea/**/contentModel.xml
17+
18+
# Sensitive or high-churn files
19+
.idea/**/dataSources/
20+
.idea/**/dataSources.ids
21+
.idea/**/dataSources.xml
22+
.idea/**/dataSources.local.xml
23+
.idea/**/sqlDataSources.xml
24+
.idea/**/dynamic.xml
25+
.idea/**/uiDesigner.xml
26+
.idea/**/dbnavigator.xml
27+
28+
# Gradle
29+
.idea/**/gradle.xml
30+
.idea/**/libraries
31+
32+
# Gradle and Maven with auto-import
33+
# When using Gradle or Maven with auto-import, you should exclude module files,
34+
# since they will be recreated, and may cause churn. Uncomment if using
35+
auto-import.
36+
.idea/artifacts
37+
.idea/compiler.xml
38+
.idea/jarRepositories.xml
39+
.idea/modules.xml
40+
.idea/*.iml
41+
.idea/modules
42+
*.iml
43+
*.ipr
44+
45+
# CMake
46+
cmake-build-*/
47+
48+
# Mongo Explorer plugin
49+
.idea/**/mongoSettings.xml
50+
51+
# File-based project format
52+
*.iws
53+
54+
# IntelliJ
55+
out/
56+
57+
# mpeltonen/sbt-idea plugin
58+
.idea_modules/
59+
60+
# JIRA plugin
61+
atlassian-ide-plugin.xml
62+
63+
# Cursive Clojure plugin
64+
.idea/replstate.xml
65+
66+
# Crashlytics plugin (for Android Studio and IntelliJ)
67+
com_crashlytics_export_strings.xml
68+
crashlytics.properties
69+
crashlytics-build.properties
70+
fabric.properties
71+
72+
# Editor-based Rest Client
73+
.idea/httpRequests
74+
75+
# Android studio 3.1+ serialized cache file
76+
.idea/caches/build_file_checksums.ser
77+
78+
### Intellij Patch ###
79+
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
80+
81+
# *.iml
82+
# modules.xml
83+
# .idea/misc.xml
84+
# *.ipr
85+
86+
# Sonarlint plugin
87+
# https://plugins.jetbrains.com/plugin/7973-sonarlint
88+
.idea/**/sonarlint/
89+
90+
# SonarQube Plugin
91+
# https://plugins.jetbrains.com/plugin/7238-sonarqube-community-plugin
92+
.idea/**/sonarIssues.xml
93+
94+
# Markdown Navigator plugin
95+
# https://plugins.jetbrains.com/plugin/7896-markdown-navigator-enhanced
96+
.idea/**/markdown-navigator.xml
97+
.idea/**/markdown-navigator-enh.xml
98+
.idea/**/markdown-navigator/
99+
100+
# Cache file creation bug
101+
# See https://youtrack.jetbrains.com/issue/JBR-2257
102+
.idea/$CACHE_FILE$
103+
104+
# CodeStream plugin
105+
# https://plugins.jetbrains.com/plugin/12206-codestream
106+
.idea/codestream.xml
107+
108+
### Gradle ###
109+
.gradle
110+
build/
111+
112+
# Ignore Gradle GUI config
113+
gradle-app.setting
114+
115+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
116+
!gradle-wrapper.jar
117+
118+
# Cache of project
119+
.gradletasknamecache
120+
121+
# # Work around https://youtrack.jetbrains.com/issue/IDEA-116898
122+
# gradle/wrapper/gradle-wrapper.properties
123+
124+
### Gradle Patch ###
125+
**/build/
126+
127+
# End of https://www.toptal.com/developers/gitignore/api/gradle,intellij
128+
129+
.DS_Store
130+
.intellijPlatform
131+
.kotlin

.idea/.gitignore

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

.idea/icon.svg

Lines changed: 12 additions & 0 deletions
Loading

.sdkmanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=21.0.5-tem

build.gradle.kts

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
import org.jetbrains.intellij.platform.gradle.TestFrameworkType
2+
import org.jetbrains.intellij.platform.gradle.tasks.VerifyPluginTask
3+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
4+
5+
plugins {
6+
id("org.jetbrains.intellij.platform") version "2.6.0"
7+
java
8+
kotlin("jvm") version "2.2.0"
9+
kotlin("plugin.serialization") version "2.2.0"
10+
}
11+
12+
group = "com.github.pakisan.arazzoideaplugin"
13+
version = "1.0.0"
14+
15+
repositories {
16+
mavenCentral()
17+
intellijPlatform {
18+
jetbrainsRuntime()
19+
defaultRepositories()
20+
}
21+
}
22+
23+
dependencies {
24+
intellijPlatform {
25+
/*
26+
Our developers believe that you likely built the plugin against version 2024.2, which includes
27+
a companion object in this class. As a result, the generated bytecode references it. To ensure compatibility,
28+
the plugin should be built against the lowest supported version, which in this case is 2022.3.
29+
30+
Please adjust the IntelliJ version to 2022.3 in the Gradle build script and try building the plugin again.
31+
*/
32+
intellijIdeaCommunity("2024.3", useInstaller = false) // MUST NOT be changed
33+
34+
// Plugin Dependencies. Uses `platformBundledPlugins` property from the gradle.properties file for bundled IntelliJ Platform plugins.
35+
bundledPlugins(listOf(
36+
"org.jetbrains.plugins.yaml",
37+
"com.intellij.modules.json"
38+
))
39+
40+
pluginVerifier()
41+
jetbrainsRuntime()
42+
testFramework(TestFrameworkType.Platform)
43+
}
44+
45+
implementation("com.fasterxml.jackson.core:jackson-core:2.19.2")
46+
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.19.2")
47+
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.19.2")
48+
49+
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.13.4")
50+
testImplementation("junit:junit:4.13.2")
51+
52+
/*
53+
Spectral linter
54+
*/
55+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.9.0")
56+
implementation("org.jetbrains.kotlin:kotlin-reflect:2.2.0")
57+
}
58+
59+
// See https://plugins.jetbrains.com/docs/intellij/tools-intellij-platform-gradle-plugin-extension.html
60+
intellijPlatform {
61+
instrumentCode = true
62+
63+
pluginConfiguration {
64+
description = providers.fileContents(
65+
layout.projectDirectory.file("src/main/resources/META-INF/description.html")
66+
).asText
67+
68+
changeNotes = providers.fileContents(
69+
layout.projectDirectory.file("src/main/resources/META-INF/changeNotes.html")
70+
).asText
71+
}
72+
73+
pluginVerification {
74+
failureLevel = listOf(
75+
VerifyPluginTask.FailureLevel.INVALID_PLUGIN,
76+
VerifyPluginTask.FailureLevel.COMPATIBILITY_PROBLEMS,
77+
VerifyPluginTask.FailureLevel.NOT_DYNAMIC,
78+
VerifyPluginTask.FailureLevel.MISSING_DEPENDENCIES,
79+
)
80+
81+
ides {
82+
ides(listOf(
83+
"2024.3",
84+
"2024.3.1",
85+
"2024.3.2",
86+
"2024.3.3",
87+
"2024.3.4",
88+
"2025.1",
89+
))
90+
}
91+
}
92+
}
93+
94+
tasks {
95+
patchPluginXml {
96+
sinceBuild = "243"
97+
untilBuild = provider { null }
98+
}
99+
}
100+
101+
tasks {
102+
test {
103+
useJUnitPlatform()
104+
}
105+
}
106+
107+
kotlin {
108+
compilerOptions {
109+
jvmTarget.set(JvmTarget.JVM_21)
110+
}
111+
jvmToolchain {
112+
this.languageVersion.set(JavaLanguageVersion.of(21))
113+
}
114+
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kotlin.code.style=official

gradle/wrapper/gradle-wrapper.jar

42.4 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)