The plugins syntax for loading the j2objc plugin prevents you from loading the java plugin beforehand. That means that the j2objc plugin needs to operate assuming that the java plugin is loaded afterwards.
// plugins prevent applying java plugin beforehand
plugins {
id "com.github.j2objccontrib.j2objcgradle" version "0.2.0-alpha"
}
apply plugin: 'java'