jasm-gradle-plugin

所属分类:collect
开发工具:kotlin
文件大小:0KB
下载次数:0
上传日期:2022-10-24 15:22:55
上 传 者sh-1993
说明:  JASM JVM汇编程序的Gradle插件,
(Gradle plugin for the JASM JVM assembler,)

文件列表:
LICENSE.md (1067, 2022-09-17)
build.gradle.kts (2166, 2022-09-17)
gradle/ (0, 2022-09-17)
gradle/wrapper/ (0, 2022-09-17)
gradle/wrapper/gradle-wrapper.jar (59536, 2022-09-17)
gradle/wrapper/gradle-wrapper.properties (200, 2022-09-17)
gradlew (5774, 2022-09-17)
gradlew.bat (2674, 2022-09-17)
src/ (0, 2022-09-17)
src/main/ (0, 2022-09-17)
src/main/kotlin/ (0, 2022-09-17)
src/main/kotlin/com/ (0, 2022-09-17)
src/main/kotlin/com/roscopeco/ (0, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/ (0, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/ (0, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/DefaultJasmSourceDirectorySet.kt (297, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmExecutor.kt (1486, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmPlugin.kt (2939, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmResult.kt (130, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmSourceDirectorySet.kt (135, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmSourceVirtualDirectory.kt (378, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmSourceVirtualDirectoryImpl.kt (1523, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmSpec.kt (233, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmSpecFactory.kt (883, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmTask.kt (3060, 2022-09-17)
src/main/kotlin/com/roscopeco/jasm/gradle/JasmWorkerManager.kt (1151, 2022-09-17)

## JASM plugin for Gradle ### What? [JASM](https://github.com/roscopeco/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](https://plugins.gradle.org/plugin/com.roscopeco.jasm) 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: * Adds source sets for JASM code (in `src/main/jasm` and `src/test/jasm`) * Hooks in to the Java lifecycle (if in use) to assemble JASM code before Java compile * Output goes into `build/classes/jasm` * Javac and runtime (for application plugin) classpaths include JASM assembled classes However, as this is still a WIP, there's plenty still to do: * Allow configuration of the JASM task * Stop using deprecated Gradle features * Tidy up the code * and much more ### Requirements * Java 11 or above (for the VM running Gradle) ### How? Add the following in your `build.gradle.kts`: ```kotlin 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).

近期下载者

相关文件


收藏者