diff --git a/api/build.gradle b/api/build.gradle new file mode 100644 index 000000000..73e5ec2cd --- /dev/null +++ b/api/build.gradle @@ -0,0 +1,19 @@ +plugins { + id 'java' +} + +group 'com.volmit.iris' +version '1.0.0' + +repositories { + mavenCentral() +} + +dependencies { + testImplementation 'org.junit.jupiter:junit-jupiter-api:5.7.0' + testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0' +} + +test { + useJUnitPlatform() +} \ No newline at end of file diff --git a/api/src/main/java/com/volmit/iris/api/IrisAPI.java b/api/src/main/java/com/volmit/iris/api/IrisAPI.java new file mode 100644 index 000000000..f68e5795c --- /dev/null +++ b/api/src/main/java/com/volmit/iris/api/IrisAPI.java @@ -0,0 +1,24 @@ +/* + * Iris is a World Generator for Minecraft Bukkit Servers + * Copyright (c) 2021 Arcane Arts (Volmit Software) + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.volmit.iris.api; + +public interface IrisAPI +{ + +} diff --git a/build.gradle b/build.gradle index 9b648883d..3fe748939 100644 --- a/build.gradle +++ b/build.gradle @@ -146,6 +146,7 @@ shadowJar { include(dependency('io.papermc:paperlib')) include(dependency('com.dfsek:Paralithic')) include(dependency('net.kyori:')) + include(dependency('com.volmit.iris.api:')) } } @@ -181,6 +182,7 @@ dependencies { implementation "net.kyori:adventure-text-minimessage:4.2.0-SNAPSHOT" implementation "net.kyori:adventure-platform-bukkit:4.0.0-SNAPSHOT" implementation 'net.kyori:adventure-api:4.9.1' + implementation project(":api") // Dynamically Loaded implementation 'io.timeandspace:smoothie-map:2.0.2' diff --git a/settings.gradle b/settings.gradle index 7e3e7191b..82d702ce2 100644 --- a/settings.gradle +++ b/settings.gradle @@ -17,4 +17,5 @@ */ rootProject.name = 'Iris' +include 'api'