All Projects → tbroyer → gradle-j2cl-plugin

tbroyer / gradle-j2cl-plugin

Licence: Apache-2.0 license
Gradle J2CL Plugin

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to gradle-j2cl-plugin

gradle-natives
Gradle plugin to aid in managing native libraries associated with Java-based projects.
Stars: ✭ 32 (+77.78%)
Mutual labels:  gradle-plugin
Android-So-Handler
支持APK包中所有System.Load/LoadLibrary加载的So库文件(Maven、aar文件引入三方库、源码引入的so文件),对So文件进行7z压缩与云端下发,完成apk瘦身
Stars: ✭ 64 (+255.56%)
Mutual labels:  gradle-plugin
dmn-check
A tool which performs static analyses on Decision Model Notation (DMN) files to detect bugs
Stars: ✭ 34 (+88.89%)
Mutual labels:  gradle-plugin
codeartifact-gradle-plugin
Codeartifact gradle plugin
Stars: ✭ 14 (-22.22%)
Mutual labels:  gradle-plugin
j2cl-protobuf
Protocol Buffers implementation for J2CL
Stars: ✭ 23 (+27.78%)
Mutual labels:  j2cl
Versionberg
Gradle plugin for versioning your library/application on every git commit
Stars: ✭ 78 (+333.33%)
Mutual labels:  gradle-plugin
gradle-syntastic-plugin
A Gradle plugin for integrating your Java project with Vim and Syntastic.
Stars: ✭ 45 (+150%)
Mutual labels:  gradle-plugin
kmp-fatframework-cocoa
A Gradle plugin to generate and publish an iOs FatFramework or XCFramework on Kotlin Multiplatform projects.
Stars: ✭ 26 (+44.44%)
Mutual labels:  gradle-plugin
gradle-flatbuffers-plugin
Gradle plugin for generating code from Google FlatBuffers schemas
Stars: ✭ 20 (+11.11%)
Mutual labels:  gradle-plugin
graalvm-native-image-plugin
A Gradle plugin which creates a native executable via GraalVM's native-image. This is a thin wrapper of the native-image command.
Stars: ✭ 90 (+400%)
Mutual labels:  gradle-plugin
badass-runtime-plugin
Create a custom runtime image of your non-modular application
Stars: ✭ 143 (+694.44%)
Mutual labels:  gradle-plugin
blowdryer
Keep your gradle builds dry 干
Stars: ✭ 22 (+22.22%)
Mutual labels:  gradle-plugin
gradle-grammar-kit-plugin
Gradle plugin for generating lexers (with JFlex) and BNF parsers (with Grammar-Kit) for IntelliJ language plugins
Stars: ✭ 76 (+322.22%)
Mutual labels:  gradle-plugin
ConfigDroid
Gradle plugin to generate config classes for your Android projects
Stars: ✭ 31 (+72.22%)
Mutual labels:  gradle-plugin
gradle-semantic-build-versioning
Gradle plugin to generate version-numbers and tags using semantic versioning
Stars: ✭ 19 (+5.56%)
Mutual labels:  gradle-plugin
editorconfig-gradle-plugin
A Gradle plugin for checking whether project files comply with format rules defined in .editorconfig files and eventually also for fixing the violations
Stars: ✭ 40 (+122.22%)
Mutual labels:  gradle-plugin
gradle-android-git
Gradle plugin for Android apps to manage Git dependency (gag)
Stars: ✭ 22 (+22.22%)
Mutual labels:  gradle-plugin
gradle-cpd-plugin
Gradle plugin to find duplicate code using PMDs copy/paste detection (= CPD).
Stars: ✭ 88 (+388.89%)
Mutual labels:  gradle-plugin
TinyPngPlugin
TinyPng gradle plugin for android
Stars: ✭ 240 (+1233.33%)
Mutual labels:  gradle-plugin
kuberig
Deploy to Kubernetes/OpenShift by leveraging your developer skills - no yaml required!
Stars: ✭ 31 (+72.22%)
Mutual labels:  gradle-plugin

gradle-j2cl-plugin

This plugin provides tasks and project conventions for building J2CL projects with Gradle.

Requirements

This plugin requires using at least Gradle 6.6.

Building the project

Building the project currently requires that you separately checkout and build J2CL itself.

You need to build the following targets:

bazel build //transpiler/java/com/google/j2cl/transpiler:J2clCommandLineRunner_deploy.jar
bazel build //tools/java/com/google/j2cl/tools/gwtincompatible:GwtIncompatibleStripper_deploy.jar
bazel build //jre/java:jre //jre/java:jre_bootclasspath
bazel build //junit/emul/java:junit_emul //junit/generator/java/com/google/j2cl/junit/...
# Must be last, as it actually only sets up the execroot
bazel build $(bazel query 'filter('closure_.*', //third_party/...)')

Once this is done, you can build the plugin with Gradle, passing the path to the J2CL project root as a j2cl-project-root Gradle property:

./gradlew -Pj2cl-project-root="<path to J2CL project root>" build

Instead of passing it to each Gradle execution, you can set it up once and for all in your ~/.gradle/gradle.properties:

j2cl-project-root=<path to J2CL project root>

The plugin is currently tested/exercized using sample projects in the samples/ folder. Switch to a sample's folder then build it, this will automatically build the plugin as a composite build.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].