Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
0 gradlew → sponge/gradlew
100755 → 100644
File renamed without changes.
200 changes: 100 additions & 100 deletions gradlew.bat → sponge/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
16 changes: 16 additions & 0 deletions velocity/.run/Debug Velocity.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Debug Velocity" type="Remote">
<module name="altimeter.main" />
<option name="USE_SOCKET_TRANSPORT" value="true" />
<option name="SERVER_MODE" value="true" />
<option name="SHMEM_ADDRESS" />
<option name="HOST" value="localhost" />
<option name="PORT" value="5006" />
<option name="AUTO_RESTART" value="false" />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="5006" />
<option name="LOCAL" value="false" />
</RunnerSettings>
<method v="2" />
</configuration>
</component>
16 changes: 16 additions & 0 deletions velocity/.run/Velocity Server.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Velocity Server" type="JarApplication">
<option name="JAR_PATH" value="$PROJECT_DIR$/../../../Server/velocity/velocity.jar" />
<option name="VM_PARAMETERS" value="-Xmx512M -agentlib:jdwp=transport=dt_socket,server=n,address=Laptop.mshome.net:5006,suspend=y" />
<option name="WORKING_DIRECTORY" value="D:\Dev\Server\velocity" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="true" />
<option name="ALTERNATIVE_JRE_PATH" value="11" />
<module name="altimeter.main" />
<method v="2">
<option name="Gradle.BeforeRunTask" enabled="true" tasks="build" externalProjectPath="$PROJECT_DIR$" vmOptions="" scriptParameters="" />
<option name="BuildArtifacts" enabled="true">
<artifact name="altimeter.main:jar" />
</option>
</method>
</configuration>
</component>
45 changes: 45 additions & 0 deletions velocity/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
plugins {
id 'com.github.johnrengelman.shadow' version '4.0.4'
}

apply plugin: 'java'

group = 'tv.voidstar'
version = '1.0-SNAPSHOT'

sourceCompatibility = '1.8'
targetCompatibility = '1.8'

dependencies {
compileOnly 'com.velocitypowered:velocity-api:3.0.0'
annotationProcessor 'com.velocitypowered:velocity-api:3.0.0'
shadow 'com.github.Eufranio:StorageUtils:2.4'
//shadow 'org.xerial:sqlite-jdbc:3.36.0.2'
//shadow 'mysql:mysql-connector-java:8.0.26'
}

configurations {
compile.extendsFrom shadow
}

shadowJar {
configurations = [project.configurations.shadow]

archiveClassifier = null
from sourceSets.main.output

dependencies {
exclude(dependency('org.spongepowered:configurate-core'))
exclude(dependency('org.spongepowered:configurate-hocon'))
}
}

repositories {
maven {
name 'velocity'
url 'https://nexus.velocitypowered.com/repository/maven-public/'
}
maven { url = 'https://jitpack.io' }
}

build.dependsOn shadowJar
Empty file added velocity/gradle.properties
Empty file.
Binary file added velocity/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 5 additions & 0 deletions velocity/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading