// key signing information environments { development { signingkey { params { // sigfile = 'GRIFFON' // keystore = "${basedir}/griffon-app/conf/keys/devKeystore" // alias = 'development' storepass = 'BadStorePassword' keypass = 'BadKeyPassword' lazy = true // only sign when unsigned } } } test { griffon { jars { sign = false pack = false } } } production { signingkey { params { // NOTE: for production keys it is more secure to rely on key prompting // no value means we will prompt //storepass = 'BadStorePassword' // no value means we will prompt //keypass = 'BadKeyPassword' lazy = false // sign, regardless of existing signatures } } griffon { jars { sign = true pack = true destDir = "${basedir}/staging" } webstart { codebase = 'CHANGE ME' } } } } griffon { memory { //max = '64m' //min = '2m' //minPermSize = '2m' //maxPermSize = '64m' } jars { sign = false pack = false destDir = "${basedir}/staging" jarName = "${appName}.jar" } extensions { jarUrls = [] jnlpUrls = [] /* props { someProperty = 'someValue' } resources { linux { // windows, macosx, solaris jars = [] nativelibs = [] props { someProperty = 'someValue' } } } */ } webstart { codebase = "${new File(griffon.jars.destDir).toURI().toASCIIString()}" jnlp = 'application.jnlp' } applet { jnlp = 'applet.jnlp' html = 'applet.html' } } // required for custom environments signingkey { params { def env = griffon.util.Environment.current.name sigfile = 'GRIFFON-' + env keystore = "${basedir}/griffon-app/conf/keys/${env}Keystore" alias = env // storepass = 'BadStorePassword' // keypass = 'BadKeyPassword' lazy = true // only sign when unsigned } } griffon { doc { logo = 'The Griffon Framework' sponsorLogo = "
" footer = "

Made with Griffon (@griffon.version@)" } } deploy { application { title = "${appName} ${appVersion}" vendor = System.properties['user.name'] homepage = "http://localhost/${appName}" description { complete = "${appName} ${appVersion}" oneline = "${appName} ${appVersion}" minimal = "${appName} ${appVersion}" tooltip = "${appName} ${appVersion}" } icon { 'default' { name = 'griffon-icon-64x64.png' width = '64' height = '64' } splash { name = 'griffon.png' width = '391' height = '123' } selected { name = 'griffon-icon-64x64.png' width = '64' height = '64' } disabled { name = 'griffon-icon-64x64.png' width = '64' height = '64' } rollover { name = 'griffon-icon-64x64.png' width = '64' height = '64' } shortcut { name = 'griffon-icon-64x64.png' width = '64' height = '64' } } } } griffon.project.dependency.resolution = { // inherit Griffon' default dependencies inherits("global") { } log "warn" // log level of Ivy resolver, either 'error', 'warn', 'info', 'debug' or 'verbose' repositories { griffonHome() // uncomment the below to enable remote dependency resolution // from public Maven repositories //mavenLocal() //mavenCentral() //mavenRepo "http://snapshots.repository.codehaus.org" //mavenRepo "http://repository.codehaus.org" //mavenRepo "http://download.java.net/maven/2/" //mavenRepo "http://repository.jboss.com/maven2/" } dependencies { // specify dependencies here under either 'build', 'compile', 'runtime' or 'test' scopes eg. // runtime 'mysql:mysql-connector-java:5.1.5' } } log4j = { // Example of changing the log pattern for the default console // appender: appenders { console name: 'stdout', layout: pattern(conversionPattern: '%d [%t] %-5p %c - %m%n') } error 'org.codehaus.griffon', 'org.springframework', 'org.apache.karaf', 'groovyx.net' warn 'griffon' }