mirror of
https://github.com/chylex/IntelliJ-Pin-Undocked-Tool-Windows.git
synced 2025-05-01 07:34:03 +02:00
Add build and plugin configuration
This commit is contained in:
parent
2d57f41af5
commit
96c63d6b06
.gitattributes.gitignore
.idea/runConfigurations
build.gradle.ktsgradle.propertiessettings.gradle.ktssrc/main/resources/META-INF
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
* text=auto eol=lf
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,5 @@
|
|||||||
|
/.idea/*
|
||||||
|
!/.idea/runConfigurations
|
||||||
|
|
||||||
/.gradle/
|
/.gradle/
|
||||||
/build/
|
/build/
|
||||||
|
23
.idea/runConfigurations/Plugin.xml
Normal file
23
.idea/runConfigurations/Plugin.xml
Normal 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
35
build.gradle.kts
Normal 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
1
gradle.properties
Normal file
@ -0,0 +1 @@
|
|||||||
|
kotlin.stdlib.default.dependency=false
|
1
settings.gradle.kts
Normal file
1
settings.gradle.kts
Normal file
@ -0,0 +1 @@
|
|||||||
|
rootProject.name = "Pin-Undocked-Tool-Windows"
|
19
src/main/resources/META-INF/plugin.xml
Normal file
19
src/main/resources/META-INF/plugin.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user