-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
--------- Signed-off-by: Evgeniy Moiseenko <[email protected]> Co-authored-by: Evgeniy Moiseenko <[email protected]>
- Loading branch information
1 parent
3e8add7
commit 2f1277e
Showing
91 changed files
with
2,558 additions
and
1,390 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
plugins { | ||
kotlin("multiplatform") | ||
} | ||
|
||
kotlin { | ||
val nativeTargets = listOf( | ||
linuxX64(), | ||
// 1) no machine currently available 2) CLI library does not support | ||
// linuxArm64(), | ||
macosX64(), | ||
macosArm64(), | ||
) | ||
nativeTargets.forEach { target -> | ||
target.binaries { | ||
executable { | ||
entryPoint = "main" | ||
} | ||
} | ||
} | ||
jvm { | ||
withJava() | ||
} | ||
|
||
sourceSets { | ||
commonMain { | ||
val cliktVersion = project.findProperty("cliktVersion") | ||
dependencies { | ||
implementation(project(":core")) | ||
implementation(project(":testsuite")) | ||
implementation("com.github.ajalt.clikt:clikt:$cliktVersion") | ||
} | ||
} | ||
jvmMain { | ||
dependencies { | ||
implementation(project(":jcstress-wrapper")) | ||
} | ||
} | ||
} | ||
} | ||
|
||
tasks.whenTaskAdded { | ||
if (name == "jvmRun") { | ||
dependsOn(":jcstress-wrapper:copyCoreToJCStress") | ||
dependsOn(":jcstress-wrapper:copyTestsuiteToJCStress") | ||
dependsOn(":jcstress-wrapper:run") | ||
} | ||
} |
Oops, something went wrong.