Skip to content

Instantly share code, notes, and snippets.

@kaakaa
Last active December 14, 2015 04:39
Show Gist options
  • Save kaakaa/5029927 to your computer and use it in GitHub Desktop.
Save kaakaa/5029927 to your computer and use it in GitHub Desktop.
configurations{ iso }
dependencies{
iso fileTree(dir: 'lib', includes: ['*.jar'])
}
task iso << {
ant.taskdef(name: 'makeiso', classpath: configurations.iso.asPath, classname:'de.tu_darmstadt.informatik.rbg.hatlak.iso9660.ISOTask')
def params = [:]
params['destfile'] = 'minimal.iso'
params['basedir'] = '.'
params['name'] = 'Minimal'
params['includes'] = 'src'
//params['excludes'] = '**'
//params['copyrightFile'] = './build.gradle'
//params['bootImage'] = 'tomsrtbt-2.0.103.ElTorito.288.img'
//params['bootImageSectorCount'] = '1'
//params['bootImageEmulation'] = '2.88'
//params['bootImagePlatformID'] = 'X86'
ant.makeiso(params)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment