Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c637dff338
Fetching contributors…

Cannot retrieve contributors at this time

92 lines (74 sloc) 1.739 kb
apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'maven'
apply plugin: 'eclipse'
group = 'org.sunflow'
version = '0.07.3'
mainClassName = "org.sunflow.SunflowGUI"
dependencies {
compile 'org.codehaus.janino:janino:2.5.16'
}
javadocTitle = "Sunflow v${project.version}"
javadoc {
options.encoding('UTF-8')
options.windowTitle(javadocTitle)
options.docTitle(javadocTitle)
}
javadoc.doFirst {
javadoc.options.docTitle = javadocTitle
}
task createWrapper(type: Wrapper) {
gradleVersion = '1.0-milestone-3'
}
run {
maxHeapSize: '1G'
}
jar {
dependsOn configurations.runtime
from { configurations.runtime.collect { it.isDirectory() ? it : zipTree(it) } }
}
repositories {
mavenLocal()
mavenCentral()
}
task generatePom << {
pom {
project {
version version
description 'Sunflow Global Illumination Rendering System'
url 'http://sunflow.sourceforge.net/'
licenses {
license {
name 'MIT License'
url 'http://www.opensource.org/licenses/mit-license.php'
distribution 'repo'
}
}
issueManagement {
system 'github'
url 'https://github.com/skrat/sunflow/issues'
}
scm {
url 'https://github.com/skrat/sunflow'
connection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
developerConnection 'scm:git:https://skrat@github.com/skrat/sunflow.git'
}
build {
plugins {
plugin {
groupId 'org.apache.maven.plugins'
artifactId 'maven-source-plugin'
executions {
execution {
id 'attach-sources'
goals {
goal 'jar'
}
}
}
}
}
}
}
}.writeTo("pom.xml")
}
Jump to Line
Something went wrong with that request. Please try again.