This repository has been archived by the owner on Apr 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from GlitchLib/dev
release(v0.5.0): Release Kotlin Support
- Loading branch information
Showing
417 changed files
with
7,910 additions
and
7,467 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
language: java | ||
jdk: | ||
- openjdk8 | ||
- openjdk11 | ||
- openjdk8 | ||
- openjdk11 | ||
|
||
before_cache: | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock | ||
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/ | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
- $HOME/.gradle/caches/ | ||
- $HOME/.gradle/wrapper/ | ||
|
||
before_install: chmod +x ./gradlew | ||
|
||
before_script: | ||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | ||
- chmod +x ./cc-test-reporter | ||
- ./cc-test-reporter before-build | ||
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter | ||
- chmod +x ./cc-test-reporter | ||
- ./cc-test-reporter before-build | ||
script: ./gradlew check | ||
after_script: ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT | ||
|
||
jobs: | ||
include: | ||
- stage: deploy | ||
jdk: openjdk11 | ||
install: chmod +x ./javadoc.sh | ||
script: ./javadoc.sh | ||
if: tag IS present | ||
- stage: deploy | ||
jdk: openjdk8 | ||
install: skip | ||
script: ./gradlew bintrayUpload -x test | ||
if: tag IS present | ||
- stage: deploy | ||
jdk: openjdk11 | ||
install: chmod +x ./javadoc.sh | ||
script: ./javadoc.sh | ||
if: tag IS present | ||
- stage: deploy | ||
jdk: openjdk8 | ||
install: skip | ||
script: ./gradlew bintrayUpload -x test | ||
if: tag IS present |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import java.util.stream.Collectors | ||
|
||
def projectList = rootProject.subprojects.stream().filter { | ||
!["bom", "auth", name].contains(it.name) | ||
}.collect(Collectors.toSet()) | ||
|
||
dependencies { | ||
projectList.each { | ||
compile(it) | ||
} | ||
} | ||
|
||
sourceJar.enabled = false | ||
|
||
javadoc { | ||
failOnError false | ||
title = "Gltich ${rootProject.version} API" | ||
|
||
options { | ||
windowTitle = "Glitch ${rootProject.version}" | ||
addStringOption "Xdoclint:none", "-quiet" | ||
author true | ||
} | ||
projectList.each { | ||
source += it.javadoc.source | ||
classpath += it.javadoc.classpath | ||
excludes += it.javadoc.excludes | ||
includes += it.javadoc.includes | ||
} | ||
} | ||
|
||
dokka { | ||
moduleName = rootProject.name | ||
sourceDirs = projectList.stream().flatMap { it.dokka.sourceDirs.stream() }.collect(Collectors.toList()) | ||
sourceRoots = projectList.stream().flatMap { it.dokka.sourceRoots.stream() }.collect(Collectors.toList()) | ||
} |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
dependencies { | ||
compileOnly project(":core") | ||
compileOnly project(":kraken") | ||
|
||
testCompile project(":core") | ||
testCompile project(":kraken") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package glitch.chat; | ||
|
||
import java.awt.Color; | ||
|
||
/** | ||
* @author Damian Staszewski [damian@stachuofficial.tv] | ||
* @version %I%, %G% | ||
* @since 1.0 | ||
*/ | ||
public class Colors { | ||
public static Color Red = Color.decode("#FF0000"); | ||
public static Color Blue = Color.decode("#0000FF"); | ||
public static Color Green = Color.decode("#00FF00"); | ||
public static Color FireBrick = Color.decode("#B22222"); | ||
public static Color Coral = Color.decode("#FF7F50"); | ||
public static Color YellowGreen = Color.decode("#9ACD32"); | ||
public static Color OrangeRed = Color.decode("#FF4500"); | ||
public static Color SeaGreen = Color.decode("#2E8B57"); | ||
public static Color GoldenRod = Color.decode("#DAA520"); | ||
public static Color Chocolate = Color.decode("#D2691E"); | ||
public static Color CadetBlue = Color.decode("#5F9EA0"); | ||
public static Color DodgerBlue = Color.decode("#1E90FF"); | ||
public static Color HotPink = Color.decode("#FF69B4"); | ||
public static Color BlueViolet = Color.decode("#8A2BE2"); | ||
public static Color SpringGreen = Color.decode("#00FF7F"); | ||
} |
Oops, something went wrong.