Skip to content

Commit

Permalink
fix: Plugin build config
Browse files Browse the repository at this point in the history
Signed-off-by: Nahuel Rodriguez <12597182+Nahuel92@users.noreply.github.com>
  • Loading branch information
Nahuel92 committed Jan 14, 2025
1 parent 3817016 commit 7ef853f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
18 changes: 5 additions & 13 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@ plugins {

group = "io.github.nahuel92"

// Plugin version
val pluginVersion = "0.2.0"
val javaVersion = "21"
// IntelliJ version
val sinceVersion = "243"
val untilVersion = "243.*"
val intellijIdeaCommunityVersion = "2024.3.1.1"
// PIT version
val pitVersion = "1.17.4"
val pitestJunit5PluginVersion = "1.2.1"

repositories {
mavenCentral()
Expand All @@ -32,7 +25,7 @@ intellijPlatform {
version = providers.gradleProperty("pluginVersion")
id = "io.github.nahuel92.pit4u"
name = "PIT4U"
version = pluginVersion
version = "0.2.0"
description = "Plugin that allows you to run PIT mutation tests directly from your IDE"
ideaVersion {
sinceBuild.set(sinceVersion)
Expand All @@ -53,11 +46,11 @@ intellijPlatform {

dependencies {
implementation("org.pitest:pitest:$pitVersion")
implementation("org.pitest:pitest-junit5-plugin:$pitestJunit5PluginVersion")
implementation("org.pitest:pitest-junit5-plugin:1.2.1")
implementation("org.pitest:pitest-command-line:$pitVersion")
implementation("org.pitest:pitest-entry:$pitVersion")
intellijPlatform {
intellijIdeaCommunity(intellijIdeaCommunityVersion)
intellijIdeaCommunity("2024.3.1.1")
bundledPlugin("com.intellij.java")
bundledPlugin("org.jetbrains.idea.maven")
bundledPlugin("com.intellij.gradle")
Expand All @@ -71,12 +64,11 @@ dependencies {

tasks {
withType<JavaCompile> {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
sourceCompatibility = "21"
targetCompatibility = "21"
}

patchPluginXml {
version = "$pluginVersion"
sinceBuild.set(sinceVersion)
untilBuild.set(untilVersion)
}
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/META-INF/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
via a new configuration that you can find in the 'Run/Debug Configurations' dialog, or using contextual actions
on the top-level project directory, on a package or a class.
]]></description>
<version>0.2.0</version>

<change-notes><![CDATA[
<h4>Version 0.2.0</h4>
Expand Down

0 comments on commit 7ef853f

Please sign in to comment.