Commit db7cd16e authored by Charmed Baryon's avatar Charmed Baryon

Migrate to GitHub.

parent 9ff98d5f
Pipeline #79569192 passed with stage
in 3 minutes and 38 seconds
version: 2.1
orbs:
codecov: codecov/codecov@1.0.5
job-template: &job-template
working_directory: ~/reactive-irc-client
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
jobs:
build:
<<: *job-template
docker:
- image: openjdk:11-jdk
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum "build.gradle" }}-{{ checksum "settings.gradle" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- run:
name: Fetch Dependencies
command: ./gradlew dependencies
- run:
name: Assemble
command: ./gradlew -i -S downloadLicenses assemble
- save_cache:
paths:
- ~/.gradle
- ~/.m2/repository
key: cache-{{ checksum "build.gradle" }}-{{ checksum "settings.gradle" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- persist_to_workspace:
root: ./
paths:
- build
verify:
<<: *job-template
docker:
- image: openjdk:11-jdk
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum "build.gradle" }}-{{ checksum "settings.gradle" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- attach_workspace:
at: ./
- run:
name: SonarCloud Scan
command: ./gradlew -i -S sonarqube
test:
<<: *job-template
docker:
- image: openjdk:11-jdk
steps:
- checkout
- restore_cache:
keys:
- cache-{{ checksum "build.gradle" }}-{{ checksum "settings.gradle" }}-{{ checksum "gradle/wrapper/gradle-wrapper.properties" }}
- attach_workspace:
at: ./
- run:
name: Run Tests
command: ./gradlew -i -S allTests jacocoTestReport
- store_test_results:
path: build/test-results
- store_artifacts:
path: build/test-results/test
- codecov/upload:
file: build/reports/jacoco/test/jacocoTestReport.xml
- persist_to_workspace:
root: ./
paths:
- build
workflows:
version: 2.1
ci:
jobs:
- build
- test:
requires:
- build
- verify:
requires:
- test
[Dolphin]
Timestamp=2019,8,29,20,41,27
Version=4
[Settings]
HiddenFilesShown=true
plugins {
id 'java-library'
id 'org.proticity.gradle.proticity-java' version '0.1.4'
id 'org.proticity.gradle.proticity-java' version '0.1.9'
}
dependencies {
......@@ -22,6 +22,11 @@ config {
inceptionYear = '2019'
tags = [ 'irc', 'chat', 'twitch', 'streaming', 'live streaming', 'tmi', 'ircv3', 'reactive', 'reactor' ]
organization {
name = 'proticity-cloud'
url = 'https://www.proticity.org'
}
people {
person {
id = 'johnstewart'
......
......@@ -9,4 +9,6 @@ org.gradle.daemon = true
org.gradle.caching = true
org.gradle.parallel = true
org.gradle.logging.level = warn
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
\ No newline at end of file
org.gradle.jvmargs=-XX:MaxMetaspaceSize=512m
sonar.organization=proticity-cloud
\ No newline at end of file
#Sat May 04 23:08:52 PDT 2019
#Thu Aug 29 22:25:44 PDT 2019
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
zipStoreBase=GRADLE_USER_HOME
......@@ -7,7 +7,7 @@
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
......@@ -125,8 +125,8 @@ if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin, switch paths to Windows format before running java
if $cygwin ; then
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
......
......@@ -5,7 +5,7 @@
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem http://www.apache.org/licenses/LICENSE-2.0
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment