本文整理了Java中org.gradle.api.tasks.bundling.Zip.setExtension()
方法的一些代码示例,展示了Zip.setExtension()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Zip.setExtension()
方法的具体详情如下:
包路径:org.gradle.api.tasks.bundling.Zip
类名称:Zip
方法名:setExtension
暂无
代码示例来源:origin: org.gradle/gradle-core
public Zip() {
setExtension(ZIP_EXTENSION);
allowZip64 = false;
}
代码示例来源:origin: com.amazon.device.tools.build/gradle-core
bundle.setArchiveName(project.getName() + "-" + variantConfig.getBaseName() + "."
+ BuilderConstants.EXT_LIB_ARCHIVE);
bundle.setExtension(BuilderConstants.EXT_LIB_ARCHIVE);
bundle.from(new File(
variantScope.getGlobalScope().getIntermediatesDir(),
代码示例来源:origin: MinecraftForge/ForgeGradle
installer.setBaseName(project.getName());
installer.setClassifier("installer");
installer.setExtension("jar");
installer.setDestinationDir(new File(DIR_OUTPUT));
installer.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE);
userdev.setBaseName(project.getName());
userdev.setClassifier("userdev");
userdev.setExtension("jar");
userdev.setDestinationDir(new File(DIR_OUTPUT));
userdev.setDuplicatesStrategy(DuplicatesStrategy.EXCLUDE);
代码示例来源:origin: com.android.tools.build/gradle-core
bundle.setDestinationDir(variantScope.getOutputBundleFile().getParentFile());
bundle.setArchiveName(variantScope.getOutputBundleFile().getName());
bundle.setExtension(BuilderConstants.EXT_LIB_ARCHIVE);
bundle.from(variantBundleDir);
bundle.from(
内容来源于网络,如有侵权,请联系作者删除!