A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

addNewPodMethod(List<String>, List<String>) - Method in XcodeTask
Adds new pod method when podfile has never had pod method before
appendArgs(List<String>, String, boolean, String) - Method in J2objcConfig
apply(Project) - Method in J2objcPlugin
apply(File, File) - Method in NativeCompilation
applyWhenUnsupported() - Method in NativeCompilation
assembleLibraries() - Method in AssembleLibrariesTask
AssembleLibrariesTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Assemble Libraries Task copies generated libraries to assembly directories for use by an iOS application.
assembleResources() - Method in AssembleResourcesTask
AssembleResourcesTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Assemble Resources Task copies main and test resources to separate assembly directories for use by an iOS application.
assembleSource() - Method in AssembleSourceTask
AssembleSourceTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Assemble Source Task copies generated source to assembly directories for use by an iOS application.

B

beforeProjects - Field in NativeCompilation

C

checkGradleVersion(GradleVersion, boolean) - Method in Utils
configureAll() - Method in DependencyConverter
configureAll() - Method in DependencyResolver
configureNativeCompilation() - Method in J2objcConfig
configureNativeCompilationForUnsupported() - Method in J2objcConfig
configureSourceSet(Project, String, String, String) - Method in DependencyResolver
configureSourceSets(Project) - Method in DependencyResolver
Adds to the main java sourceSet a to-be-generated directory that contains the contents of `j2objcTranslation` dependency libraries (if any).
configureTaskState() - Method in J2objcConfig
convertDeps() - Method in J2objcConfig
copyMainSource() - Method in AssembleSourceTask
copyTestSource() - Method in AssembleSourceTask
cycleFinder() - Method in CycleFinderTask
cycleFinderArgs(String) - Method in J2objcConfig
Add command line arguments for j2objc cycle_finder.
cycleFinderJar(Project) - Method in Utils
CycleFinderTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
CycleFinder task checks for memory cycles that can cause memory leaks since iOS doesn't have garbage collection.

D

definePlatforms(NamedDomainObjectContainer<Platform>, List<String>) - Method in NativeCompilation
defineTarget(Clang, String, NativeCompilation.TargetSpec, String) - Method in NativeCompilation
deleteRemovedFiles(List<String>, File) - Method in TranslateTask
DependencyConverter - Class in com.github.j2objccontrib.j2objcgradle
Converts `[test]compile` dependencies to their `j2objcTranslationClosure` and/or `j2objc[Test]Linkage` equivalents, depending on the type of dependency and whether or not they are already provided in native code:

External classfile .jar libraries you depend on via `compile` will be converted to `j2objcTranslationClosure` dependencies of the corresponding source .jar libraries.

DependencyConverter(Project, J2objcConfig) - Constructor in DependencyConverter
DependencyResolver - Class in com.github.j2objccontrib.j2objcgradle
Resolves `j2objc*` dependencies into their `j2objc` constructs:

  • j2objcTranslationClosure - The plugin will translate only the subset of the configuration's source jars that are actually used by this project's code (via --build-closure), and compile and link the translated code directly into this project's libraries.
DependencyResolver(Project, J2objcConfig) - Constructor in DependencyResolver
dependsOnJ2objcLib(Project) - Method in J2objcConfig
Uses the generated headers and compiled j2objc libraries of the given project when compiling this project.
dependsOnJ2objcLib(Project, boolean) - Method in NativeCompilation
doTranslate(UnionFileCollection, File, List<String>, FileCollection, String) - Method in TranslateTask

E

enableBuildClosure() - Method in J2objcConfig
Enables --build-closure, which translates classes referenced from the list of files passed for translation, using the translateSourcepaths.
escapeSlashyString(String) - Method in Utils
extractXcodeTargets(List<String>) - Method in XcodeTask
Extracts xcode targets in Podfile.
extraLinkerArgs(String) - Method in J2objcConfig
Add arguments to pass to the native linker.
extraNativeLib(Map) - Method in J2objcConfig
Add additional native library to link to.
extraObjcCompilerArgs(String) - Method in J2objcConfig
Add arguments to pass to the native compiler.
extraObjcHeadersDirs(String) - Method in J2objcConfig
Add directories of Objective-C headers to export in addition to the translated ones.
extraObjcSrcDirs(String) - Method in J2objcConfig
Add directories of Objective-C source to compile in addition to the translated source.

F

failOnBuildClosureForTests(Dependency, boolean) - Method in DependencyConverter
filenameCollisionCheck(FileCollection) - Method in Utils
fileSeparator() - Method in Utils
finalConfigure() - Method in J2objcConfig
Configures the j2objc build.
finalConfigured - Field in J2objcConfig
from(Project) - Method in J2objcConfig

G

generatedSourceDirs(String) - Method in J2objcConfig
Add generated source files directories, e.g. from dagger annotations.
genPodspec(String, String, String, String, String, String, String, String, String, String, String) - Method in PodspecTask
getActiveArchs() - Method in J2objcConfig
An architecture is active if it is both supported (supportedArchs) and enabled in the current environment via the comma-separated j2objc.enabledArchs value in local.properties.
getActiveArchs() - Method in PackLibrariesTask
getAllInputFiles() - Method in CycleFinderTask
getAllInputFiles() - Method in TranslateTask
getBeforeProjects() - Method in J2objcConfig
Get J2ObjC project dependencies.
getCycleFinderArgs() - Method in CycleFinderTask
getCycleFinderExpectedCycles() - Method in CycleFinderTask
getCycleFinderJar() - Method in CycleFinderTask
getDestLibDirFile() - Method in AssembleLibrariesTask
getDestLibDirFile() - Method in J2objcConfig
getDestLibDirFile() - Method in PodspecTask
getDestLibSubdirs() - Method in AssembleLibrariesTask
getDestPodspecDirFile() - Method in J2objcConfig
getDestPodspecDirFile() - Method in PodspecTask
getDestSrcDirFile(String, String) - Method in J2objcConfig
getDestSrcMainObjcDirFile() - Method in AssembleSourceTask
getDestSrcMainObjDirFile() - Method in PodspecTask
getDestSrcMainResDirFile() - Method in AssembleResourcesTask
getDestSrcMainResourcesDirFile() - Method in PodspecTask
getDestSrcTestObjcDirFile() - Method in AssembleSourceTask
getDestSrcTestResDirFile() - Method in AssembleResourcesTask
getFilenameCollisionCheck() - Method in CycleFinderTask
getFilenameCollisionCheck() - Method in J2objcConfig
getFilenameCollisionCheck() - Method in TranslateTask
getGeneratedSourceDirs() - Method in CycleFinderTask
getGeneratedSourceDirs() - Method in TranslateTask
getJ2objcHome() - Method in CycleFinderTask
getJ2objcHome() - Method in PodspecTask
getJ2objcHome() - Method in TranslateTask
getJ2objcJar() - Method in TranslateTask
getJ2objcTestDirFile() - Method in TestTask
getJ2objcVersion() - Method in CycleFinderTask
getJ2objcVersion() - Method in TranslateTask
getLibName() - Method in PodspecTask
getLibrariesFiles() - Method in PackLibrariesTask
getLibraryPattern() - Method in AssembleLibrariesTask
getLocalProperty(Project, String, String) - Method in Utils
Retrieves the local properties with highest precedence: 1.
getLowerCaseOSName(boolean) - Method in Utils
getMainResourcesFiles() - Method in TestTask
getMainSrcFiles() - Method in TranslateTask
getMainTestResourcesFiles() - Method in AssembleResourcesTask
getMinVersionIos() - Method in PodspecTask
getMinVersionIos() - Method in XcodeTask
getMinVersionOsx() - Method in PodspecTask
getMinVersionOsx() - Method in XcodeTask
getMinVersionWatchos() - Method in PodspecTask
getMinVersionWatchos() - Method in XcodeTask
getOutputLibDirFile() - Method in PackLibrariesTask
getPackagePrefixes() - Method in TranslateTask
getPodfileFile() - Method in XcodeTask
getPodMethodName() - Method in XcodeTask.PodspecDetails
getPodNameDebug() - Method in PodspecTask
getPodNameRelease() - Method in PodspecTask
getPodspecDebug() - Method in PodspecTask
getPodspecDependencies(Project, Set<Project>) - Method in XcodeTask
Retrieve a list of debug and release podspecs to update Xcode
getPodspecRelease() - Method in PodspecTask
getReportFile() - Method in CycleFinderTask
getSrcInputFiles() - Method in CycleFinderTask
getSrcLibs() - Method in AssembleLibrariesTask
getTestArgs() - Method in TestTask
getTestMinExpectedTests() - Method in TestTask
getTestNames(Project, FileCollection, Properties) - Method in TestTask
getTestSrcFiles() - Method in TestTask
getTestSrcFiles() - Method in TranslateTask
getTranslateArgs() - Method in TestTask
getTranslateArgs() - Method in TranslateTask
getTranslateClasspaths() - Method in CycleFinderTask
getTranslateClasspaths() - Method in TranslateTask
getTranslateJ2objcLibs() - Method in CycleFinderTask
getTranslateJ2objcLibs() - Method in TranslateTask
getTranslateSourceMapping() - Method in CycleFinderTask
getTranslateSourceMapping() - Method in TranslateTask
getTranslateSourcepaths() - Method in CycleFinderTask
getTranslateSourcepaths() - Method in TranslateTask
getXcodeDebugConfigurations2() - Method in XcodeTask
getXcodeProjectDir() - Method in XcodeTask
getXcodeReleaseConfigurations2() - Method in XcodeTask
getXcodeTargetsIos() - Method in XcodeTask
getXcodeTargetsManualConfig() - Method in XcodeTask
getXcodeTargetsOsx() - Method in XcodeTask
getXcodeTargetsWatchos() - Method in XcodeTask
greatestCommonPrefix(String, String) - Method in Utils

H

I

isAtLeastVersion(String, String) - Method in Utils
isFinalConfigured() - Method in J2objcConfig
isLinux() - Method in Utils
isMacOSX() - Method in Utils
isProjectExecNonZeroExit(Exception) - Method in Utils
isTaskActive() - Method in XcodeTask
isWindows() - Method in Utils
isWindowsNoFake() - Method in Utils

J

J2objcConfig - Class in com.github.j2objccontrib.j2objcgradle
j2objcConfig is used to configure the plugin with the project's build.gradle.
J2objcConfig(Project) - Constructor in J2objcConfig
j2objcHasOsxDistribution(Project) - Method in Utils
j2objcHome(Project) - Method in Utils
j2objcJar(Project) - Method in Utils
j2objcLibs(String, List<String>) - Method in Utils
J2objcPlugin - Class in com.github.j2objccontrib.j2objcgradle
javaTrees(Project, List<String>) - Method in Utils
joinedPathArg(FileCollection) - Method in Utils

K

L

M

mainSourceDirs(String) - Method in J2objcConfig
mapSourceFiles(Project, FileCollection, Map<String, String>) - Method in Utils
matchRegexOutputs(ByteArrayOutputStream, ByteArrayOutputStream, String) - Method in Utils
maxArgs() - Method in Utils
MIN_SUPPORTED_J2OBJC_VERSION - Field in J2objcConfig

N

NativeCompilation - Class in com.github.j2objccontrib.j2objcgradle
Compilation of libraries for debug/release and architectures listed below.
NativeCompilation.TargetSpec - Enum in com.github.j2objccontrib.j2objcgradle
nativeCompilation - Field in J2objcConfig
NativeCompilation(Project) - Constructor in NativeCompilation
neverMatchesRegex - Field in XcodeTask

O

P

packagePrefixes(Project, List<String>) - Method in Utils
packLibraries() - Method in PackLibrariesTask
PackLibrariesTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Uses 'lipo' binary to combine multiple architecture flavors of a library into a single 'fat' library.
parseVersionComponents(String) - Method in Utils
pathSeparator() - Method in Utils
podMethodLines(XcodeTask.PodspecDetails, File) - Method in XcodeTask
podMethodsEnd - Field in XcodeTask
podMethodsStart - Field in XcodeTask
podMethodStartRegexOLD - Field in XcodeTask
PodspecTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Updates the Xcode project with j2objc generated files and resources.
podspecWrite() - Method in PodspecTask
project - Field in J2objcConfig
projectClearDir(Project, File) - Method in Utils
Delete a directory and recreate it using project.delete(...) and project.mkdir(...)
projectCopy(Project, Closure) - Method in Utils
Copy content to directory by calling project.copy(closure)
projectDelete(Project, Object) - Method in Utils
Delete a directory by calling project.delete(...)
projectExec(Project, ByteArrayOutputStream, ByteArrayOutputStream, String, Closure) - Method in Utils
Executes command line and returns result by calling project.exec(...)
projectExecLog(ExecSpec, ByteArrayOutputStream, ByteArrayOutputStream, boolean, Exception) - Method in Utils
projectMkDir(Project, Object) - Method in Utils
Delete a directory by calling project.mkdir(...)

Q

R

regexInsertLines(List<String>, boolean, String, String, List<String>) - Method in XcodeTask
Insert new lines in to podfile between startRegex to targetEndRegex.
regexInsertLinesBefore(List<String>, String, List<String>) - Method in XcodeTask
Insert new lines in to podfile before line
regexMatchesLine(List<String>, String) - Method in XcodeTask
Checks if Podfile line matches regex
regexModifyLines(List<String>, boolean, boolean, boolean, String, String, String, List<String>) - Method in XcodeTask
Modify Podfile lines between startRegex to targetEndRegex.
regexReplaceLines(List<String>, boolean, String, String, List<String>) - Method in XcodeTask
Replaces lines between two regexps, including start and end lines
regexStripLines(List<String>, String, String, String) - Method in XcodeTask
Strips certain lines from podfile.
relativizeNonParent(File, File) - Method in Utils
requireMacOSX(String) - Method in Utils
resolveDeps() - Method in J2objcConfig

S

setFakeOSLinux() - Method in Utils
setFakeOSMacOSX() - Method in Utils
setFakeOSNone() - Method in Utils
setFakeOSWindows() - Method in Utils
srcSet(Project, String, String) - Method in Utils
stdOutAndErrToLogString(ByteArrayOutputStream, ByteArrayOutputStream) - Method in Utils
syncResourcesTo(Project, List<String>, File) - Method in Utils

T

targetEndRegex - Field in XcodeTask
targetNamedRegex - Field in XcodeTask
targetStartRegex - Field in XcodeTask
test() - Method in TestTask
testArgs(String) - Method in J2objcConfig
Add command line arguments for j2objcTest task.
testingOnlyPrepConfigurations() - Method in J2objcConfig
testPattern(Closure) - Method in J2objcConfig
Configures the testPattern

Calling this method repeatedly further modifies the existing testPattern, and will create an empty testPattern if none exists.

testSourceDirs(String) - Method in J2objcConfig
TestTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Test task to run all unit tests and verify results.
throwIfNoJavaPlugin(Project) - Method in Utils
throwJ2objcConfigFailure(Project, String) - Method in Utils
toQuotedList(List<String>) - Method in Utils
translate(IncrementalTaskInputs) - Method in TranslateTask
translateArgs(String) - Method in J2objcConfig
Add command line arguments for j2objc translate.
translateClasspaths(String) - Method in J2objcConfig
Local jars for translation e.g.: "lib/json-20140107.jar", "lib/somelib.jar".
translatePattern(Closure) - Method in J2objcConfig
Configures the translatePattern.
translateSourceMapping(String, String) - Method in J2objcConfig
Adds a new source mapping.
translateSourcepaths(String) - Method in J2objcConfig
Source jars for translation e.g.: "lib/json-20140107-sources.jar"
TranslateTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Translation task for Java to Objective-C using j2objc tool.
trimTrailingForwardSlash(String) - Method in Utils

U

updatePodfile(List<String>, List<PodspecDetails>, XcodeTask.XcodeTargetDetails, boolean, File) - Method in XcodeTask
updatePodfileTargets(List<String>, List<PodspecDetails>, XcodeTask.XcodeTargetDetails) - Method in XcodeTask
Add a podspec to a podfile.
updatePodMethods(List<String>, List<PodspecDetails>, File) - Method in XcodeTask
Utils - Class in com.github.j2objccontrib.j2objcgradle.tasks
Internal utilities supporting plugin implementation.

V

validateConfiguration() - Method in J2objcConfig
validateNumericVersion(String, String) - Method in PodspecTask
validatePodspecPath(String, boolean) - Method in PodspecTask
verifyArgs(String, boolean, String) - Method in J2objcConfig
verifyJ2objcRequirements() - Method in J2objcConfig
visit(Dependency, boolean) - Method in DependencyConverter
visitExternalModuleDependency(ExternalModuleDependency, boolean) - Method in DependencyConverter
visitGenericDependency(Dependency, boolean) - Method in DependencyConverter
visitLink(Dependency, boolean) - Method in DependencyResolver
visitLinkGenericDependency(Dependency, boolean) - Method in DependencyResolver
visitLinkProjectDependency(ProjectDependency, boolean) - Method in DependencyResolver
visitLinkSelfResolvingDependency(SelfResolvingDependency, boolean) - Method in DependencyResolver
visitProjectDependency(ProjectDependency, boolean) - Method in DependencyConverter
visitSelfResolvingDependency(SelfResolvingDependency, boolean) - Method in DependencyConverter
visitTranslationClosureFile(File) - Method in DependencyResolver
visitTranslationSourceJar(File, boolean) - Method in DependencyResolver

W

wildcardToRegex(String) - Method in TestTask
writeUpdatedPodfileIfNeeded(List<PodspecDetails>, XcodeTask.XcodeTargetDetails, boolean, File) - Method in XcodeTask
Modify in place the existing podfile.

X

xcodeConfig() - Method in XcodeTask
xcodeTargetsIos(String) - Method in J2objcConfig
iOS app and test Xcode targets to link to the generated libraries.
xcodeTargetsOsx(String) - Method in J2objcConfig
OS X app and test Xcode targets to link to the generated libraries.
xcodeTargetsWatchos(String) - Method in J2objcConfig
watchOS app and test Xcode targets to link to the generated libraries.
XcodeTask - Class in com.github.j2objccontrib.j2objcgradle.tasks
Updates the Xcode project with j2objc generated files and resources.
XcodeTask.PodspecDetails - Class in com.github.j2objccontrib.j2objcgradle.tasks
XcodeTask.PodspecDetails(String, File, File, List<String>, List<String>) - Constructor in XcodeTask.PodspecDetails
XcodeTask.XcodeTargetDetails - Class in com.github.j2objccontrib.j2objcgradle.tasks
XcodeTask.XcodeTargetDetails(List<String>, List<String>, List<String>, String, String, String) - Constructor in XcodeTask.XcodeTargetDetails

Y

Z

_

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _