pork/tool/build.gradle.kts
dependabot[bot] f1e1617c1e
build(deps): bump the gradle-updates group across 1 directory with 3 updates
Bumps the gradle-updates group with 3 updates in the / directory: [com.github.jnr:jffi](https://github.com/jnr/jffi), [com.charleskorn.kaml:kaml](https://github.com/charleskorn/kaml) and org.jetbrains.intellij.platform.


Updates `com.github.jnr:jffi` from 1.3.12 to 1.3.13
- [Commits](https://github.com/jnr/jffi/compare/jffi-1.3.12...jffi-1.3.13)

Updates `com.charleskorn.kaml:kaml` from 0.83.0 to 0.85.0
- [Release notes](https://github.com/charleskorn/kaml/releases)
- [Changelog](https://github.com/charleskorn/kaml/blob/main/.releaserc.yml)
- [Commits](https://github.com/charleskorn/kaml/compare/0.83.0...0.85.0)

Updates `org.jetbrains.intellij.platform` from 2.6.0 to 2.7.0

---
updated-dependencies:
- dependency-name: com.github.jnr:jffi
  dependency-version: 1.3.13
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: gradle-updates
- dependency-name: com.charleskorn.kaml:kaml
  dependency-version: 0.85.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-updates
- dependency-name: org.jetbrains.intellij.platform
  dependency-version: 2.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: gradle-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-29 01:34:22 +00:00

34 lines
838 B
Plaintext

plugins {
application
id("gay.pizza.pork.module")
id("com.gradleup.shadow") version "8.3.8"
}
dependencies {
api(project(":minimal"))
api(project(":compiler"))
api(project(":vm"))
api("com.github.ajalt.clikt:clikt:5.0.3")
api("com.charleskorn.kaml:kaml:0.85.0")
implementation(project(":common"))
}
application {
applicationName = "pork"
mainClass.set("gay.pizza.pork.tool.MainKt")
applicationDefaultJvmArgs += "-XstartOnFirstThread"
applicationDefaultJvmArgs += "--enable-native-access=ALL-UNNAMED"
}
for (task in arrayOf(tasks.shadowDistTar, tasks.shadowDistZip, tasks.shadowJar)) {
val suffix = when {
task == tasks.shadowJar -> ""
task.name.startsWith("shadow") -> "-shadow"
else -> ""
}
task.get().archiveBaseName.set("pork${suffix}")
}
tasks.run.get().outputs.upToDateWhen { false }