Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 2dee3e5b60
Fetching contributors…

Cannot retrieve contributors at this time

61 lines (53 sloc) 1.128 kB
apply plugin: 'java'
apply plugin: 'idea'
archivesBaseName = "Catacomb-Snatch"
project.group = "com.mojang.mojam"
project.version = "1.1.0-SNAPSHOT"
sourceSets {
main {
java {
srcDir 'src'
}
resources {
srcDir 'res'
}
}
}
dependencies {
compile fileTree( dir: 'lib', include: '*.jar')
}
//fat jar~!
//Could be easier to use the jarjar ant task, it's probably faster
jar {
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
manifest {
attributes "Main-Class" : "com.mojang.mojam.MojamComponent"
}
}
task run() {
dependsOn "build"
doLast {
println "Executing Catacomb Snatch!"
javaexec {
main = '-jar'
args = [ jar.archivePath ]
}
}
}
apply plugin: 'macAppBundle'
macAppBundle {
mainClassName = "com.mojang.mojam.MojamComponent"
icon = "cs_icons.icns"
}
buildscript {
repositories {
ivy {
artifactPattern 'http://gradle-macappbundle.googlecode.com/files/[module]-[revision].[ext]'
}
}
dependencies {
classpath 'edu.sc.seis:gradle-macappbundle:1.0.3'
}
}
Jump to Line
Something went wrong with that request. Please try again.