在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):edibleday/teavm-gradle-plugin开源软件地址(OpenSource Url):https://github.com/edibleday/teavm-gradle-plugin开源编程语言(OpenSource Language):Kotlin 100.0%开源软件介绍(OpenSource Introduction):AboutThis is Gradle plugin for compiling(transpiling) Java bytecode to JavaScript using TeaVM. Plugin uses TeaVMTool for compilation. Plugin is written in Kotlin and depends on Plugin is tested with Java 6 and Kotlin but it should be able to transpile other JVM outputs too. Quick StartAdd repositories and classpath in build script:
Replace VERSION with actual version of plugin. See releases for version list. You can also use git commit hash as version. Check JitPack for list of hashes and build status. Apply plugin to project:
Add repositories for TeaVM dependencies
Set main class (one with
Optionally set compilation options:
To compile project, run
Resulting application will be put into To run app, open UsageSample is located here. Check comments in To compile javascript application, use It's possible to add source code for source code copying tasks by using dependency with
BuildingUse this command to build and publish plugin to local maven repo:
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论