Search Gradle plugins

Version 0.5.0-alpha

0.5.0-alpha

Created 26 October 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, 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.5.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.5.0-alpha")
  }
}

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

Using the plugins DSL:

plugins {
  id "com.github.j2objccontrib.j2objcgradle" version "0.5.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.5.0-alpha"
  }
}

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

Learn how to apply plugins to subprojects