本文整理了Java中org.gradle.api.Project.project()
方法的一些代码示例,展示了Project.project()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.project()
方法的具体详情如下:
包路径:org.gradle.api.Project
类名称:Project
方法名:project
暂无
代码示例来源:origin: uber/okbuck
String variant = variantAttr == null ? null : variantAttr.getName();
Project identifierProject = project.project(identifier.getProjectPath());
targetDeps.add(
ProjectCache.getTargetCache(identifierProject).getTargetForVariant(variant));
代码示例来源:origin: typelead/gradle-eta
@Override
public Project getProject(final Project project) {
return project.project(projectPath);
}
代码示例来源:origin: GoogleCloudPlatform/app-gradle-plugin
/**
* Returns the appengine service directory for this project and modifies the task dependencies of
* run/start to ensure {@code serviceProject} is built first.
*/
public File projectAsService(String serviceProject) {
return projectAsService(project.getRootProject().project(serviceProject));
}
代码示例来源:origin: com.palantir.gradle.conjure/gradle-conjure
Configuration conjurePythonConfig = project.getConfigurations().maybeCreate(CONJURE_PYTHON);
project.project(pythonProjectName, subproj -> {
applyDependencyForIdeTasks(subproj, compileConjure);
File conjurePythonDir = new File(project.getBuildDir(), CONJURE_PYTHON);
代码示例来源:origin: com.palantir.gradle.conjure/gradle-conjure
if (project.findProject(typescriptProjectName) != null) {
Configuration conjureTypeScriptConfig = project.getConfigurations().maybeCreate(CONJURE_TYPESCRIPT);
project.project(typescriptProjectName, subproj -> {
applyDependencyForIdeTasks(subproj, compileConjure);
File conjureTypescriptDir = new File(project.getBuildDir(), CONJURE_TYPESCRIPT);
代码示例来源:origin: com.palantir.gradle.conjure/gradle-conjure
project.project(objectsProjectName, subproj -> {
subproj.getPluginManager().apply(JavaPlugin.class);
addGeneratedToMainSourceSet(subproj);
代码示例来源:origin: com.palantir.gradle.conjure/gradle-conjure
project.project(retrofitProjectName, subproj -> {
subproj.getPluginManager().apply(JavaPlugin.class);
addGeneratedToMainSourceSet(subproj);
代码示例来源:origin: com.palantir.gradle.conjure/gradle-conjure
project.project(jerseyProjectName, subproj -> {
subproj.getPluginManager().apply(JavaPlugin.class);
addGeneratedToMainSourceSet(subproj);
代码示例来源:origin: GoogleCloudPlatform/app-gradle-plugin
.build();
Project frontend = p.project("frontend");
Project backend = p.project("backend");
内容来源于网络,如有侵权,请联系作者删除!