本文整理了Java中org.gradle.api.tasks.bundling.Zip.setArchiveName()
方法的一些代码示例,展示了Zip.setArchiveName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zip.setArchiveName()
方法的具体详情如下:
包路径:org.gradle.api.tasks.bundling.Zip
类名称:Zip
方法名:setArchiveName
暂无
代码示例来源:origin: gradle.plugin.com.twcable.gradle/gradle-plugin-cq-package
public void setArchiveName(String name) {
this.customName = name; // capture for validation purposes
super.setArchiveName(name);
}
代码示例来源:origin: com.amazon.device.tools.build/gradle-core
@Override
public void setOutputFile(@NonNull File file) {
packageLibTask.setDestinationDir(file.getParentFile());
packageLibTask.setArchiveName(file.getName());
}
代码示例来源:origin: com.android.tools.build/gradle-core
@Override
public void setOutputFile(@NonNull File file) {
packageLibTask.setDestinationDir(file.getParentFile());
packageLibTask.setArchiveName(file.getName());
}
代码示例来源:origin: com.amazon.device.tools.build/gradle-core
variantConfig.getFullName() + ".");
bundle.setDestinationDir(new File(variantScope.getGlobalScope().getOutputsDir(), "aar"));
bundle.setArchiveName(project.getName() + "-" + variantConfig.getBaseName() + "."
+ BuilderConstants.EXT_LIB_ARCHIVE);
bundle.setExtension(BuilderConstants.EXT_LIB_ARCHIVE);
代码示例来源:origin: MinecraftForge/ForgeGradle
combineRes.setArchiveName(out.getName());
combineRes.setIncludeEmptyDirs(false);
combineRes.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE);
packagePatches.setArchiveName(out.getName());
packagePatches.from(delayedFile(DIR_USERDEV_PATCHES));
packagePatches.dependsOn(userdevPatches);
代码示例来源:origin: com.android.tools.build/gradle-core
variantConfig.getFullName() + ".");
bundle.setDestinationDir(variantScope.getOutputBundleFile().getParentFile());
bundle.setArchiveName(variantScope.getOutputBundleFile().getName());
bundle.setExtension(BuilderConstants.EXT_LIB_ARCHIVE);
bundle.from(variantBundleDir);
内容来源于网络,如有侵权,请联系作者删除!