/deno-gradle-plugin

Use Deno (https://deno.land/) as part of your Gradle build.

Primary LanguageJavaApache License 2.0Apache-2.0

build license release

Gradle Plugin for Deno

This plugin enables you to use Deno as part of your Gradle build:

plugins {
  id("io.github.rognan.deno") version "0.1.0"
}

deno {
  // deno is downloaded from https://github.com/denoland/deno/releases
  // and placed in ${rootProject}/.gradle/deno/v${denoVersion}-${arch}-${os}
  version.set("1.43.4")
}

// arguments are forwarded directly to deno
tasks.register<task.io.github.rognan.deno.ExecTask>("helloWorld") {
  args.set(listOf("eval", "console.log('Hello, World!');"))
}