|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gradle.api.DefaultTask
org.batcha.gradle.plugins.gitDependencies.ResolveGitDependenciesTask
class ResolveGitDependenciesTask extends DefaultTask
Copyright 2013 Baptiste Chatrain
This file is part of Gradle Git-Dependencies Plugin.
Gradle Git-Dependencies Plugin is free software:
you can redistribute it and/or modifyit under the terms of the GNU General
Public License as published by the Free Software Foundation, either
version 3 of the License, or (at your option) any later version.
Gradle Git-Dependencies Plugin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gradle Git-Dependencies Plugin.
If not, see
Method Summary | |
---|---|
java.lang.Object
|
checkoutVersion(java.io.File destinationDir, java.lang.String version)
Checkout version (or master if not found) |
java.lang.Object
|
cloneGitRepository(java.lang.String repositoryUri, java.io.File destinationDir)
Clone Git dependency's repository |
java.lang.Object
|
fetchGitRepository(java.lang.String repositoryUri, java.io.File destinationDir)
Fetch from upstream. |
java.lang.String
|
getDescription()
|
java.lang.Object
|
installDependencies()
Iterates trough dependencies specification and resolve the Git-Dependencies. |
java.lang.Object
|
installGitDependency(java.io.File destinationDir)
Install via Gradle Wrapper assuming Maven plugin used by dependency. |
java.lang.Object
|
refreshGitRepository(java.lang.String repositoryUri, java.lang.String version, java.io.File destinationDir)
Refresh Git Dependency. |
Method Detail |
---|
java.lang.Object checkoutVersion(java.io.File destinationDir, java.lang.String version)
java.lang.Object cloneGitRepository(java.lang.String repositoryUri, java.io.File destinationDir)
java.lang.Object fetchGitRepository(java.lang.String repositoryUri, java.io.File destinationDir)
@Override java.lang.String getDescription()
@TaskAction java.lang.Object installDependencies()
java.lang.Object installGitDependency(java.io.File destinationDir)
java.lang.Object refreshGitRepository(java.lang.String repositoryUri, java.lang.String version, java.io.File destinationDir)
Groovy Documentation