#J2OBJC plugin
This is a clean reboot of the now deprecated j2objc-gradle project
Due to my allergy for groovy and love for xtend + gradle, I decided to write a smaller gradle plugin for j2objc.
From a terminal:
git clone git@github.com:google/j2objc.git
cd j2objc ; make dist
pwd # use this location for `local.properties` and/or `.bashrc`
- add a line to your environment variables
.bashrc
(assuming you use bash) and enterexport J2OBJC_HOME="${HOME}/where-you-put-it/j2objc/dist"
- or add a line to your
local.properties
like this:j2objc.home=/User/user/where-you-put-it/j2objc/dist
You need gradle and j2objc to build this gradle plugin project.
Go to the directory, enter command line instructions:
gradle wrapper # for the first time, not necessary when the wrapper has been created
./gradlew build
Follow these instructions to install the xtend plugin for your IDE.