-
- All Implemented Interfaces:
-
org.gradle.api.Named
public final class CocoapodsExtension.CocoapodsDependency implements Named
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCocoapodsExtension.CocoapodsDependency.PodLocation
-
Field Summary
Fields Modifier and Type Field Description private StringmoduleNameprivate Stringversionprivate CocoapodsExtension.CocoapodsDependency.PodLocationsourceprivate List<String>extraOptsprivate StringpackageName
-
Constructor Summary
Constructors Constructor Description CocoapodsExtension.CocoapodsDependency(String name, String moduleName, String version, CocoapodsExtension.CocoapodsDependency.PodLocation source, List<String> extraOpts, String packageName)
-
Method Summary
Modifier and Type Method Description final StringgetModuleName()final UnitsetModuleName(String moduleName)final StringgetVersion()final UnitsetVersion(String version)final CocoapodsExtension.CocoapodsDependency.PodLocationgetSource()final UnitsetSource(CocoapodsExtension.CocoapodsDependency.PodLocation source)final List<String>getExtraOpts()final UnitsetExtraOpts(List<String> extraOpts)final StringgetPackageName()final UnitsetPackageName(String packageName)StringgetName()final CocoapodsExtension.CocoapodsDependency.PodLocationurl(String url, Boolean flatten, Boolean isAllowInsecureProtocol)Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it. final CocoapodsExtension.CocoapodsDependency.PodLocationurl(String url, Boolean flatten)Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it. final CocoapodsExtension.CocoapodsDependency.PodLocationurl(String url)Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it. final CocoapodsExtension.CocoapodsDependency.PodLocationpath(String podspecDirectory)Path to local pod final CocoapodsExtension.CocoapodsDependency.PodLocationpath(File podspecDirectory)Path to local pod final CocoapodsExtension.CocoapodsDependency.PodLocationgit(String url, Function1<CocoapodsExtension.CocoapodsDependency.PodLocation.Git, Unit> configure)Configure pod from git repository. final CocoapodsExtension.CocoapodsDependency.PodLocationgit(String url)Configure pod from git repository. final CocoapodsExtension.CocoapodsDependency.PodLocationgit(String url, Closure<?> configure)Configure pod from git repository. -
-
Method Detail
-
getModuleName
@Input() final String getModuleName()
-
setModuleName
final Unit setModuleName(String moduleName)
-
getVersion
@Optional()@Input() final String getVersion()
-
setVersion
final Unit setVersion(String version)
-
getSource
@Optional() final CocoapodsExtension.CocoapodsDependency.PodLocation getSource()
-
setSource
final Unit setSource(CocoapodsExtension.CocoapodsDependency.PodLocation source)
-
getExtraOpts
@Internal() final List<String> getExtraOpts()
-
setExtraOpts
final Unit setExtraOpts(List<String> extraOpts)
-
getPackageName
@Internal() final String getPackageName()
-
setPackageName
final Unit setPackageName(String packageName)
-
url
final CocoapodsExtension.CocoapodsDependency.PodLocation url(String url, Boolean flatten, Boolean isAllowInsecureProtocol)
Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it.
Archive name should match pod name.
- Parameters:
url- url to tar, jar or zip archive.flatten- does archive contains subdirectory that needs to be expandedisAllowInsecureProtocol- enables communication with a repository over an insecure HTTP connection.
-
url
final CocoapodsExtension.CocoapodsDependency.PodLocation url(String url, Boolean flatten)
Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it.
Archive name should match pod name.
- Parameters:
url- url to tar, jar or zip archive.flatten- does archive contains subdirectory that needs to be expanded
-
url
final CocoapodsExtension.CocoapodsDependency.PodLocation url(String url)
Url to archived (tar, jar, zip) pod folder, that should contain the podspec file and all sources required by it.
Archive name should match pod name.
- Parameters:
url- url to tar, jar or zip archive.
-
path
final CocoapodsExtension.CocoapodsDependency.PodLocation path(String podspecDirectory)
Path to local pod
-
path
final CocoapodsExtension.CocoapodsDependency.PodLocation path(File podspecDirectory)
Path to local pod
-
git
final CocoapodsExtension.CocoapodsDependency.PodLocation git(String url, Function1<CocoapodsExtension.CocoapodsDependency.PodLocation.Git, Unit> configure)
Configure pod from git repository. The podspec file is expected to be in the repository root.
-
git
final CocoapodsExtension.CocoapodsDependency.PodLocation git(String url)
Configure pod from git repository. The podspec file is expected to be in the repository root.
-
git
final CocoapodsExtension.CocoapodsDependency.PodLocation git(String url, Closure<?> configure)
Configure pod from git repository. The podspec file is expected to be in the repository root.
-
-
-
-