com.github.j2objccontrib.j2objcgradle
Owner: Bruno Bowden
J2ObjC Gradle Build Plugin
https://www.github.com/j2objc-contrib/j2objc-gradle/
Sources: https://github.com/j2objc-contrib/j2objc-gradle
Version 0.6.0-alpha (latest)
0.6.0-alpha
Created 13 January 2016.
Gradle Plugin for J2ObjC, which is an open-source tool from Google that translates Java source code to Objective-C for the iOS (iPhone/iPad) platform. The plugin is not affiliated with Google but was developed by former Google Engineers and others. J2ObjC enables Java source to be part of an iOS application's build, no editing of the generated files is necessary. The goal is to write an app's non-UI code (such as application logic and data models) in Java, which is then shared by Android apps, web apps (using GWT), and iOS apps (using J2ObjC).
Using the plugins DSL:
plugins {
id("com.github.j2objccontrib.j2objcgradle") version "0.6.0-alpha"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("gradle.plugin.com.github.j2objccontrib.j2objcgradle:j2objc-gradle:0.6.0-alpha")
}
}
apply(plugin = "com.github.j2objccontrib.j2objcgradle")
Using the plugins DSL:
plugins {
id "com.github.j2objccontrib.j2objcgradle" version "0.6.0-alpha"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.com.github.j2objccontrib.j2objcgradle:j2objc-gradle:0.6.0-alpha"
}
}
apply plugin: "com.github.j2objccontrib.j2objcgradle"