Initial Commit

This commit is contained in:
Braydon 2023-12-11 22:34:12 -05:00
commit 6e74e6ecbd
4 changed files with 215 additions and 0 deletions

28
.gitignore vendored Normal file

@ -0,0 +1,28 @@
*.class
*.log
*.ctxt
.mtj.tmp/
*.jar
*.war
*.nar
*.ear
*.zip
*.tar.gz
*.rar
hs_err_pid*
replay_pid*
.idea
cmake-build-*/
.idea/**/mongoSettings.xml
*.iws
out/
build/
work/
.idea_modules/
atlassian-ide-plugin.xml
com_crashlytics_export_strings.xml
crashlytics.properties
crashlytics-build.properties
fabric.properties
git.properties
pom.xml.versionsBackup

3
COPYRIGHT.txt Normal file

@ -0,0 +1,3 @@
Copyright (c) $originalComment.match("Copyright \(c\) (\d+)", 1, "-", "$today.year")$today.year Braydon (Rainnny). All rights reserved.
For inquiries, please contact braydonrainnny@gmail.com

31
README.md Normal file

@ -0,0 +1,31 @@
<img src="./assets/logo.jpg" alt="Feather" width="200" align="right">
[![Discord](https://discord.com/api/guilds/827863713855176755/widget.png)](https://discord.gg/p9gzFE2bc6)
[![Download](https://img.shields.io/badge/Download-Releases-darkgreen.svg)](https://git.rainnny.club/Rainnny/Feather/releases)
[![Docs - Javadocs](https://img.shields.io/badge/Wiki-Javadocs-purple.svg)](https://maven.rainnny.club/javadoc/public/me/braydon/Feather/1.0-dev)
# Feather
An all-in-one plugin library to help Java developers make Bungeecord & Spigot plugins.
## Table of Contents
- [Features](#features)
- [Download](https://git.rainnny.club/Rainnny/Feather/releases)
- [Documentation](https://maven.rainnny.club/javadoc/public/me/braydon/Feather/1.0-dev)
- [Support](#support)
- [Contributing](#contributing)
- [Building from Source](#building-from-source)
## Features
- N/A
## Support
Looking for support? Join the [**Discord**](https://discord.gg/p9gzFE2bc6) or contact **rainnny7** on Discord.
## Contributing
1. Follow steps for [**building from source**](#building-from-source)
2. Make your changes
3. Make a PR with your changes, following [**these guidelines**](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#commit)
## Building from Source
1. **Clone this repository**: `git clone https://git.rainnny.club/Rainnny/Feather.git && cd Feather`
2. **Build the project**: `mvn package`, output is `./target`

153
pom.xml Normal file

@ -0,0 +1,153 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--Project Details-->
<groupId>me.braydon</groupId>
<artifactId>Feather</artifactId>
<version>1.0-dev</version>
<properties>
<java.version>8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<plugins>
<!--Used for compiling the source code with the proper Java version-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<!--Enable incremental builds, this is reversed due to-->
<!--a bug as seen in https://issues.apache.org/jira/browse/MCOMPILER-209-->
<useIncrementalCompilation>false</useIncrementalCompilation>
</configuration>
</plugin>
<!--Handles shading of dependencies in the final output jar-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Lint Java src files when building -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<configLocation>checkstyle.xml</configLocation>
</configuration>
<executions>
<execution>
<id>checkstyle-validation</id>
<phase>validate</phase>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!--Used for generating a git properties file during build-->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>4.9.10</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<prefix>git</prefix>
<dotGitDirectory>$PROJECT.BASEDIR$/.git</dotGitDirectory>
<injectAllReactorProjects>true</injectAllReactorProjects>
<generateGitPropertiesFile>true</generateGitPropertiesFile>
<generateGitPropertiesFilename>src/main/resources/git.properties</generateGitPropertiesFilename>
<commitIdGenerationMode>full</commitIdGenerationMode>
<dateFormatTimeZone>$USER.TIMEZONE$</dateFormatTimeZone>
<dateFormat>MM-dd-yyyy@HH:mm:ss</dateFormat>
<includeOnlyProperties>
<includeOnlyProperty>^git.branch$</includeOnlyProperty>
<includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty>
<includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty>
<includeOnlyProperty>^git.build.user.name$</includeOnlyProperty>
</includeOnlyProperties>
</configuration>
</plugin>
<!-- Automatically generate versions for dev builds -->
<plugin>
<groupId>me.braydon</groupId>
<artifactId>git-versioning-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>versioning</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<!-- Filter the resources dir for placeholders -->
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<!-- Plugin Repos -->
<pluginRepositories>
<pluginRepository>
<id>rainnny-repo-public</id>
<url>https://maven.rainnny.club/public</url>
</pluginRepository>
</pluginRepositories>
<!-- Distribution Repos -->
<distributionManagement>
<repository>
<id>rainnny-repo-private</id>
<url>https://maven.rainnny.club/private</url>
</repository>
</distributionManagement>
<!-- Depends -->
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>