Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.
/ wapi Public archive

A library to make things cooler.

License

Notifications You must be signed in to change notification settings

thatlittlegit-archive/wapi

Repository files navigation

wAPI

wAPI is a set of utilities made by thatlittlegit originally for making Bukkit plugins. However, it's evolved past that to a set of random utilities written in Java and JavaScript. They can now import elements and scripts, run scripts and more.

Compiling the Java

./gradlew assemble

The JAR file will be in build/libs.

Installing

Java

Gradle

repositories {
    maven {
        name 'wapi'
        url 'http://wapidstyle.bitbucket.io/'
    }
}

dependencies {
    compile "wapidstyle:wapi:1.0.3"
}

Maven

<repositories>
    <repository>
        <id>wapi</id>
        <url>http://wapidstyle.bitbucket.io/</url>
    </repository>
</repositories>

<dependencies>
    <dependency>
        <groupId>wapidstyle</groupId>
        <artifactId>wapi</artifactId>
        <version>1.0.3</version>
        <scope>compile</scope>
    </dependency>
</dependencies>

JavaScript

<!-- Importer      --><script src="https://cdn.rawgit.com/thatlittlegit/wapi/master/web/importer.js"></script>
<!-- ImportElement --><script src="https://cdn.rawgit.com/thatlittlegit/wapi/master/web/importelement.js"></script>

CSS

<link rel="stylesheet" href="https://cdn.rawgit.com/thatlittlegit/wapi/master/web/standard.css">