mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-12-23 17:38:34 +01:00
Updated build
This commit is contained in:
parent
9eeba2495e
commit
fb4d4b1da5
12
build.gradle
12
build.gradle
@ -422,11 +422,17 @@ if (!isCanary) {
|
||||
publish.finalizedBy 'curseforge'
|
||||
}
|
||||
|
||||
jar {
|
||||
from configurations.includeLibs.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
|
||||
|
||||
// Set SPIGOT_LOC to the location of your server and SPIGOT_JAR as the name of the jar file in the server you want to run
|
||||
task runJar() << {
|
||||
javaexec {
|
||||
main="-jar"; args "${System.env.SPIGOT_LOC}\\${System.env.SPIGOT_JAR}.jar";
|
||||
workingDir = "${System.env.SPIGOT_LOC}";
|
||||
main "-jar"
|
||||
args "${System.env.SPIGOT_LOC}\\${System.env.SPIGOT_JAR}.jar"
|
||||
jvmArgs "-DIReallyKnowWhatIAmDoingISwear=true"
|
||||
workingDir "${System.env.SPIGOT_LOC}"
|
||||
}
|
||||
}
|
||||
}
|
@ -1,18 +1,15 @@
|
||||
package com.sekwah.advancedportals.core;
|
||||
|
||||
import com.google.inject.Inject;
|
||||
import com.google.inject.name.Named;
|
||||
import com.sekwah.advancedportals.core.api.services.PortalServices;
|
||||
import com.sekwah.advancedportals.core.api.services.PortalTempDataServices;
|
||||
import com.sekwah.advancedportals.core.entities.PlayerLocation;
|
||||
import com.sekwah.advancedportals.core.entities.PortalLocation;
|
||||
import com.sekwah.advancedportals.core.repository.PortalRepository;
|
||||
import com.sekwah.advancedportals.core.repository.PortalTempDataRepository;
|
||||
import com.sekwah.advancedportals.core.util.Lang;
|
||||
import com.sekwah.advancedportals.coreconnector.container.PlayerContainer;
|
||||
import com.sekwah.advancedportals.coreconnector.container.WorldContainer;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
||||
public class CoreListeners {
|
||||
|
||||
private PortalTempDataServices portalTempDataServices;
|
||||
|
@ -1,10 +1,9 @@
|
||||
package com.sekwah.advancedportals.core.repository;
|
||||
|
||||
import com.google.inject.Singleton;
|
||||
import com.sekwah.advancedportals.core.config.Config;
|
||||
import com.sekwah.advancedportals.core.data.DataStorage;
|
||||
|
||||
import javax.inject.Singleton;
|
||||
|
||||
@Singleton
|
||||
public class ConfigRepositoryImpl implements ConfigRepository {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user