1
0
mirror of https://github.com/chylex/IntelliJ-Inspection-Lens.git synced 2025-04-11 12:15:45 +02:00

Add build and plugin configuration

This commit is contained in:
chylex 2022-04-29 15:29:40 +02:00
parent 9fd78f05cc
commit ac038ae79c
Signed by: chylex
GPG Key ID: 4DE42C8F19A80548
5 changed files with 73 additions and 0 deletions
.idea/runConfigurations
build.gradle.ktsgradle.propertiessettings.gradle.kts
src/main/resources/META-INF

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.6.10"
id("org.jetbrains.intellij") version "1.6.0"
}
group = "com.chylex.intellij.inspectionlens"
version = "0.0.1"
repositories {
mavenCentral()
}
intellij {
version.set("2022.1")
updateSinceUntilBuild.set(false)
}
tasks.patchPluginXml {
sinceBuild.set("213")
}
tasks.buildSearchableOptions {
enabled = false
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "11"
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 = "InspectionLens"

View File

@ -0,0 +1,13 @@
<idea-plugin>
<id>com.chylex.intellij.inspectionlens</id>
<name>Inspection Lens</name>
<vendor url="https://chylex.com">chylex</vendor>
<description><![CDATA[
Shows errors, warnings, and other inspection highlights inline.
<br><br>
Inspired by <a href="https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens">Error Lens</a> for VS Code, and <a href="https://github.com/despinoza1/InlineError">Inline Error</a> for IntelliJ Platform.
]]></description>
<depends>com.intellij.modules.platform</depends>
</idea-plugin>