Updated Client Holocore to work with intellij

This commit is contained in:
Obique
2017-12-20 10:38:19 -06:00
parent 075ae7a6ef
commit 97a44b709b
6 changed files with 31 additions and 51 deletions

View File

@@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin"/>
</classpath>

16
.gitignore vendored
View File

@@ -1,5 +1,11 @@
.gradle/
.settings/
bin/
build/
doc/
.settings
# IDE-based
Client Holocore.iml
out
.idea
# Gradle
.gradle
gradle
gradlew*

View File

@@ -1,23 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Client Holocore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>

View File

@@ -1,22 +1,25 @@
apply plugin: 'java'
sourceSets {
main {
java {
srcDirs = ['src']
}
resources {
srcDirs = ['src']
}
}
plugins {
id 'java'
id 'idea'
}
dependencies {
compile project(':PSWGCommon')
compile fileTree(dir: 'lib', include: ['*.jar'])
sourceSets {
main {
java {
srcDir 'src'
}
}
}
jar {
from sourceSets.main.allSource
archiveName = "ClientHolocore.jar"
archiveName = "PSWGCommon.jar"
}
task wrapper(type: Wrapper) {
gradleVersion = "4.4"
}
dependencies {
compile project(':PSWGCommon')
}

1
settings.gradle Normal file
View File

@@ -0,0 +1 @@
include ':PSWGCommon'