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:
Sekwah 2021-05-26 02:25:17 +01:00 committed by Sekwah
parent 4d45719a3a
commit a6df788f4f
3 changed files with 5 additions and 41 deletions

View File

@ -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
}

View File

@ -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 {

View File

@ -1,7 +1,6 @@
rootProject.name = "advanced-portals"
// Core modules
include 'core'
include 'api'
include 'lang'
// Implementations