-
- All Implemented Interfaces:
-
org.gradle.api.Named
public abstract class CocoapodsExtension.CocoapodsDependency implements Named
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CocoapodsExtension.CocoapodsDependency.PodLocation
-
Field Summary
Fields Modifier and Type Field Description private String
headers
private String
version
private CocoapodsExtension.CocoapodsDependency.PodLocation
source
private List<String>
extraOpts
private String
packageName
private String
moduleName
-
Constructor Summary
Constructors Constructor Description CocoapodsExtension.CocoapodsDependency(String name, String moduleName)
-
Method Summary
-
-
Method Detail
-
getHeaders
@Optional()@Input() final String getHeaders()
-
setHeaders
final Unit setHeaders(String headers)
-
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)
-
getModuleName
@Input() final String getModuleName()
-
setModuleName
final Unit setModuleName(String moduleName)
-
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, Action<CocoapodsExtension.CocoapodsDependency.PodLocation.Git> configure)
Configure pod from git repository. The podspec file is expected to be in the repository root.
-
-
-
-