1
0
mirror of https://github.com/chylex/IntelliJ-Pin-Undocked-Tool-Windows.git synced 2025-04-08 22:15:41 +02:00

Add build and plugin configuration

This commit is contained in:
chylex 2022-04-29 15:28:11 +02:00
parent 2d57f41af5
commit 96c63d6b06
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
7 changed files with 83 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

3
.gitignore vendored
View File

@ -1,2 +1,5 @@
/.idea/*
!/.idea/runConfigurations
/.gradle/
/build/

View File

@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Plugin" type="GradleRunConfiguration" factoryName="Gradle">
<ExternalSystemSettings>
<option name="executionName" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="externalSystemIdString" value="GRADLE" />
<option name="scriptParameters" value="" />
<option name="taskDescriptions">
<list />
</option>
<option name="taskNames">
<list>
<option value=":runIde" />
</list>
</option>
<option name="vmOptions" />
</ExternalSystemSettings>
<ExternalSystemDebugServerProcess>true</ExternalSystemDebugServerProcess>
<ExternalSystemReattachDebugProcess>true</ExternalSystemReattachDebugProcess>
<DebugAllEnabled>false</DebugAllEnabled>
<method v="2" />
</configuration>
</component>

35
build.gradle.kts Normal file
View File

@ -0,0 +1,35 @@
@file:Suppress("ConvertLambdaToReference")
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.8.0"
id("org.jetbrains.intellij") version "1.13.3"
}
group = "com.chylex.intellij.pinundockedtoolwindows"
version = "0.0.1"
repositories {
mavenCentral()
}
intellij {
version.set("2023.1")
updateSinceUntilBuild.set(false)
}
tasks.patchPluginXml {
sinceBuild.set("231")
}
tasks.buildSearchableOptions {
enabled = false
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs = listOf(
"-Xjvm-default=enable"
)
}

1
gradle.properties Normal file
View File

@ -0,0 +1 @@
kotlin.stdlib.default.dependency=false

1
settings.gradle.kts Normal file
View File

@ -0,0 +1 @@
rootProject.name = "Pin-Undocked-Tool-Windows"

View File

@ -0,0 +1,19 @@
<idea-plugin>
<id>com.chylex.intellij.pinundockedtoolwindows</id>
<name>Pin Undocked Tool Windows</name>
<vendor url="https://chylex.com">chylex</vendor>
<description><![CDATA[
Forces tool windows in "Undock" mode to stay visible when something tries to steal focus.
]]></description>
<depends>com.intellij.modules.platform</depends>
<extensions defaultExtensionNs="com.intellij">
<postStartupActivity implementation="com.chylex.intellij.pinundockedtoolwindows.ProjectActivityListener" />
</extensions>
<applicationListeners>
<listener class="com.chylex.intellij.pinundockedtoolwindows.DynamicPluginListener" topic="com.intellij.ide.plugins.DynamicPluginListener" />
</applicationListeners>
</idea-plugin>