Make project setup easier with Maven (#411)

* Remove a bunch of .ideas and class files to see if it makes the setup easier

* remove some .idea's and imkls

* Remove a ton of .class files

* [TASK] Switched to maven instead of gradle

* [TASK] Added target to gitignore

* Remove ignored files

* [TASK] Fixed file_server source

* [TASK] Fixed client source

* [BUGFIX] Main Class

* [BUGFIX] Fixed SLF4J

* [TASK] Server Libs cleanup

* Update setup guide/debug

* Maven cli compile instructions

* [TASK] Jar building

* Update runServer and runFileServer.sh

Co-authored-by: Sandro Coutinho <sandro@farrelltech.org>
This commit is contained in:
Daniel Ginovker
2020-08-04 17:57:19 -04:00
committed by GitHub
parent 6684364b64
commit eebc60084f
1811 changed files with 61630 additions and 63947 deletions
+3
View File
@@ -1,6 +1,9 @@
/bin/
/build/
/target/
.gradle
.settings
.classpath
.project
settings.gradle
*.iml
-78
View File
@@ -1,78 +0,0 @@
plugins {
id 'java-library'
}
repositories {
jcenter()
flatDir {
dirs 'libs'
}
}
dependencies {
// https://mvnrepository.com/artifact/org.apache.commons/commons-lang3
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.0'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-annotations
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.10.1'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.10.1'
// https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.10.1'
// https://mvnrepository.com/artifact/org.json/json
compile group: 'org.json', name: 'json', version: '20190722'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/logging-interceptor
compile group: 'com.squareup.okhttp3', name: 'logging-interceptor', version: '4.3.1'
// https://mvnrepository.com/artifact/org.apache.mina/mina-core
compile group: 'org.apache.mina', name: 'mina-core', version: '1.1.7'
// https://mvnrepository.com/artifact/mysql/mysql-connector-java
compile group: 'mysql', name: 'mysql-connector-java', version: '8.0.18'
// https://mvnrepository.com/artifact/io.netty/netty-all
compile group: 'io.netty', name: 'netty-all', version: '4.1.44.Final'
// https://mvnrepository.com/artifact/com.neovisionaries/nv-websocket-client
compile group: 'com.neovisionaries', name: 'nv-websocket-client', version: '2.9'
// https://mvnrepository.com/artifact/com.squareup.okhttp3/okhttp
compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '4.3.1'
// https://mvnrepository.com/artifact/com.squareup.okio/okio
compile group: 'com.squareup.okio', name: 'okio', version: '2.4.3'
// https://mvnrepository.com/artifact/org.slf4j/slf4j-api
compile group: 'org.slf4j', name: 'slf4j-simple', version: '1.7.25'
// https://mvnrepository.com/artifact/org.ogce/xpp3
compile group: 'org.ogce', name: 'xpp3', version: '1.1.6'
// https://mvnrepository.com/artifact/com.thoughtworks.xstream/xstream
compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.11.1'
// https://mvnrepository.com/artifact/org.javacord/javacord-api
compile group: 'org.javacord', name: 'javacord-api', version: '3.0.4'
// https://mvnrepository.com/artifact/org.javacord/javacord-core
compile group: 'org.javacord', name: 'javacord-core', version: '3.0.4'
// From libs flatdir
compile name: 'everythingrs-api'
}
jar {
manifest {
attributes 'Implementation-Title': '2006rebotted',
'Implementation-Version': '0.1.0',
'Main-Class': 'com.rebotted.GameEngine'
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}

Some files were not shown because too many files have changed in this diff Show More