mirror of
https://github.com/sekwah41/Advanced-Portals.git
synced 2024-11-22 10:36:17 +01:00
Removed API module
For now the core module will be what is used to communicate with the plugin rather than a specific API package.
This commit is contained in:
parent
4d45719a3a
commit
a6df788f4f
@ -1,35 +0,0 @@
|
||||
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'idea'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'java'
|
||||
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
configurations {
|
||||
// configuration that holds jars to copy into lib
|
||||
includeLibs
|
||||
}
|
||||
|
||||
repositories {
|
||||
maven { url "https://repo.maven.apache.org/maven2" }
|
||||
}
|
||||
|
||||
// includeLibs just says to include the library in the final jar
|
||||
dependencies {
|
||||
|
||||
}
|
||||
|
||||
jar {
|
||||
from configurations.includeLibs.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
|
||||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
||||
// if it is present.
|
||||
// If you remove this task, sources will not be generated.
|
||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
||||
classifier = 'sources'
|
||||
from sourceSets.main.allSource
|
||||
}
|
@ -19,11 +19,11 @@ repositories {
|
||||
|
||||
// includeLibs just says to include the library in the final jar
|
||||
dependencies {
|
||||
includeLibs group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
|
||||
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.2'
|
||||
includeLibs group: 'com.google.inject', name: 'guice', version:'4.0'
|
||||
compile group: 'com.google.inject', name: 'guice', version:'4.0'
|
||||
compile group: 'com.google.guava', name: 'guava', version: '29.0-jre'
|
||||
includeLibs group: 'com.google.code.gson', name: 'gson', version:'2.8.7'
|
||||
compile group: 'com.google.code.gson', name: 'gson', version:'2.8.7'
|
||||
includeLibs group: 'com.google.inject', name: 'guice', version:'5.0.1'
|
||||
compile group: 'com.google.inject', name: 'guice', version:'5.0.1'
|
||||
compile group: 'com.google.guava', name: 'guava', version: '30.1.1-jre'
|
||||
}
|
||||
|
||||
jar {
|
||||
|
@ -1,7 +1,6 @@
|
||||
rootProject.name = "advanced-portals"
|
||||
// Core modules
|
||||
include 'core'
|
||||
include 'api'
|
||||
include 'lang'
|
||||
|
||||
// Implementations
|
||||
|
Loading…
Reference in New Issue
Block a user