Skip to content

Commit

Permalink
More gradle tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
msteiger committed May 9, 2016
1 parent fce7c0e commit 8a3b59b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

# Ignore gradle
/build/
/.gradle

# Ignore IntelliJ
/*.iml
Expand Down
17 changes: 10 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
plugins {
id "org.standardout.versioneye" version "1.3.0"
}

apply plugin: 'java'
apply plugin: 'application'
apply plugin: 'eclipse'
apply plugin: 'idea'

apply from: 'config/gradle/versioning.gradle'

mainClassName = "org.terasology.web.ServerMain"
group = 'org.terasology.web'

// Same repository configuration as root project
repositories {
// External libs - jcenter is Bintray and is supposed to be a superset of Maven Central, but do both just in case
jcenter()
mavenCentral()
mavenCentral()

// MovingBlocks Artifactory instance for libs not readily available elsewhere plus our own libs
maven {
url "http://artifactory.terasology.org/artifactory/repo"
url "http://artifactory.terasology.org/artifactory/virtual-repo-live"
}
}

mainClassName = "org.terasology.server.WebServerMain"

task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}

dependencies {
compile project(':engine')
compile 'org.terasology.engine:engine:1.0.0'

compile 'org.eclipse.jetty:jetty-servlet:9.3.8.v20160314'
compile 'javax.servlet:javax.servlet-api:3.1.0'
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
version=1.0.0-SNAPSHOT

0 comments on commit 8a3b59b

Please sign in to comment.