Skip to content

Commit

Permalink
feat: setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dineug committed Jan 19, 2024
1 parent a751550 commit 90ff20f
Show file tree
Hide file tree
Showing 26 changed files with 747 additions and 342 deletions.
15 changes: 0 additions & 15 deletions .github/dependabot.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .github/workflows/run-ui-tests.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
.idea
.qodana
build
src/main/resources/assets
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "erd-editor"]
path = erd-editor
url = https://github.com/dineug/erd-editor.git
25 changes: 0 additions & 25 deletions .run/Run IDE for UI Tests.run.xml

This file was deleted.

30 changes: 0 additions & 30 deletions .run/Run Qodana.run.xml

This file was deleted.

24 changes: 0 additions & 24 deletions .run/Run Tests.run.xml

This file was deleted.

32 changes: 9 additions & 23 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ plugins {
alias(libs.plugins.kotlin) // Kotlin support
alias(libs.plugins.gradleIntelliJPlugin) // Gradle IntelliJ Plugin
alias(libs.plugins.changelog) // Gradle Changelog Plugin
alias(libs.plugins.qodana) // Gradle Qodana Plugin
alias(libs.plugins.kover) // Gradle Kover Plugin
}

Expand All @@ -27,13 +26,13 @@ dependencies {
}

// Set the JVM language level used to build the project. Use Java 11 for 2020.3+, and Java 17 for 2022.2+.
kotlin {
@Suppress("UnstableApiUsage")
jvmToolchain {
languageVersion = JavaLanguageVersion.of(17)
vendor = JvmVendorSpec.JETBRAINS
}
}
//kotlin {
// @Suppress("UnstableApiUsage")
// jvmToolchain {
// languageVersion = JavaLanguageVersion.of(17)
// vendor = JvmVendorSpec.JETBRAINS
// }
//}

// Configure Gradle IntelliJ Plugin - read more: https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html
intellij {
Expand All @@ -51,14 +50,6 @@ changelog {
repositoryUrl = properties("pluginRepositoryUrl")
}

// Configure Gradle Qodana Plugin - read more: https://github.com/JetBrains/gradle-qodana-plugin
qodana {
cachePath = provider { file(".qodana").canonicalPath }
reportPath = provider { file("build/reports/inspections").canonicalPath }
saveReport = true
showReport = environment("QODANA_SHOW_REPORT").map { it.toBoolean() }.getOrElse(false)
}

// Configure Gradle Kover Plugin - read more: https://github.com/Kotlin/kotlinx-kover#configuration
koverReport {
defaults {
Expand Down Expand Up @@ -105,13 +96,8 @@ tasks {
}
}

// Configure UI tests plugin
// Read more: https://github.com/JetBrains/intellij-ui-test-robot
runIdeForUiTests {
systemProperty("robot-server.port", "8082")
systemProperty("ide.mac.message.dialogs.as.sheets", "false")
systemProperty("jb.privacy.policy.text", "<!--999.999-->")
systemProperty("jb.consents.confirmation.enabled", "false")
runIde {
systemProperty("idea.log.debug.categories", "com.github.dineug.erdeditorintellijplugin")
}

signPlugin {
Expand Down
1 change: 1 addition & 0 deletions erd-editor
Submodule erd-editor added at cb359c
5 changes: 2 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@ pluginRepositoryUrl = https://github.com/dineug/erd-editor-intellij-plugin
pluginVersion = 0.0.1

# Supported build number ranges and IntelliJ Platform versions -> https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html
pluginSinceBuild = 223
pluginUntilBuild = 233.*
pluginSinceBuild = 232

# IntelliJ Platform Properties -> https://plugins.jetbrains.com/docs/intellij/tools-gradle-intellij-plugin.html#configuration-intellij-extension
platformType = IC
platformVersion = 2022.3.3
platformVersion = 2023.2.5

# Plugin Dependencies -> https://plugins.jetbrains.com/docs/intellij/plugin-dependencies.html
# Example: platformPlugins = com.intellij.java, com.jetbrains.php:203.4449.22
Expand Down
12 changes: 0 additions & 12 deletions qodana.yml

This file was deleted.

This file was deleted.

Loading

0 comments on commit 90ff20f

Please sign in to comment.