Skip to content

Commit c977fc7

Browse files
author
Daniil.Karol
committedFeb 24, 2025·
Added execute gradle task for data converting in progsnap2
1 parent 324b829 commit c977fc7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
 

‎processing/build.gradle.kts

+8
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,12 @@ tasks{
2727
withType<Detekt>().configureEach {
2828
jvmTarget = jdkVersion
2929
}
30+
31+
register<JavaExec>("execute") {
32+
group = "application"
33+
description = "Executes the main function in Main.kt"
34+
mainClass.set("org.jetbrains.research.tasktracker.progsnap2.MainKt")
35+
classpath = sourceSets["main"].runtimeClasspath
36+
args = project.findProperty("execArgs")?.toString()?.split(":") ?: listOf()
37+
}
3038
}

0 commit comments

Comments
 (0)
Please sign in to comment.