roscopeco / jasm-gradle-plugin

Gradle plugin for the JASM JVM assembler
MIT License
4 stars 2 forks source link

JASM plugin for Gradle

note: This repository is archived and the plugin is discontinuted. Development of JASM itself will continue but I cannot commit to keeping the plugin up to date.

What?

JASM is an assembler for JVM bytecode.

This project contains a Gradle plugin that allows you to integrate JASM code into your Gradle builds alongside Java and other languages.

The plugin is available in the Gradle Plugin Repository and can be applied directly to your Gradle project without any additional download. Follow the link for latest version information.

It's very early days for this right now, and it's pretty much hacked together just enough to work. However, it does work well enough to assemble Jasm code as part of a Gradle project.

What is currently supported:

However, as this is still a WIP, there's plenty still to do:

Requirements

How?

Add the following in your build.gradle.kts:

plugins {
    id("com.roscopeco.jasm") version "0.7.0"
}

There's an example project here which illustrates how things should be laid out: https://github.com/roscopeco/jasm-example

Who?

JASM is copyright 2022 Ross Bamford (roscopeco AT gmail DOT com).

See LICENSE.md for the gory legal stuff (spoiler: MIT).