src.from(delayedFile(FORGE_CREDITS));
src.from(delayedFile("{FML_DIR}/install"), new CopyInto(null, "!*.gradle"));
src.from(delayedFile("{FML_DIR}/install"), (new CopyInto(null, "*.gradle")).addExpand("version", delayedString("{MC_VERSION}-{VERSION}")).addExpand("name", "forge"));
src.from(delayedFile("{FML_DIR}/gradlew"));
src.from(delayedFile("{FML_DIR}/gradlew.bat"));
src.from(delayedFile("{FML_DIR}/gradle/wrapper"), new CopyInto("gradle/wrapper"));
src.rename(".+?\\.gradle", "build.gradle");
src.dependsOn("createChangelog");
src.setExtension("zip");
}
project.getArtifacts().add("archives", src);