Search Gradle plugins

Version 0.4.0-alpha

0.4.0-alpha

Created 27 July 2015.

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, as 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 web apps (using GWT), Android apps, and iOS apps.

Using the plugins DSL:

plugins {
  id("com.github.j2objccontrib.j2objcgradle") version "0.4.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-contrib-gradle:0.4.0-alpha")
  }
}

apply(plugin = "com.github.j2objccontrib.j2objcgradle")

Using the plugins DSL:

plugins {
  id "com.github.j2objccontrib.j2objcgradle" version "0.4.0-alpha"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.j2objccontrib.j2objcgradle:j2objc-contrib-gradle:0.4.0-alpha"
  }
}

apply plugin: "com.github.j2objccontrib.j2objcgradle"

Learn how to apply plugins to subprojects