-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
204 additions
and
104 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: "CI" | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
# test against JDK 8 | ||
java: [ 8 ] | ||
name: CI with Java ${{ matrix.java }} | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.name "NetflixOss Maintainers" | ||
git config --global user.email "[email protected]" | ||
- name: Setup jdk | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
- uses: actions/cache@v1 | ||
id: gradle-cache | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }} | ||
restore-keys: | | ||
- ${{ runner.os }}-gradle- | ||
- uses: actions/cache@v1 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
restore-keys: | | ||
- ${{ runner.os }}-gradlewrapper- | ||
- name: Build with Gradle | ||
run: ./gradlew --info --stacktrace build | ||
env: | ||
CI_NAME: github_actions | ||
CI_BUILD_NUMBER: ${{ github.sha }} | ||
CI_BUILD_URL: 'https://github.com/${{ github.repository }}' | ||
CI_BRANCH: ${{ github.ref }} | ||
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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,55 @@ | ||
name: "Publish candidate/release to NetflixOSS and Maven Central" | ||
on: | ||
push: | ||
tags: | ||
- v*.*.* | ||
- v*.*.*-rc.* | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.name "NetflixOss Maintainers" | ||
git config --global user.email "[email protected]" | ||
- name: Setup jdk 8 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 1.8 | ||
- uses: actions/cache@v1 | ||
id: gradle-cache | ||
with: | ||
path: ~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle/dependency-locks/*.lockfile') }} | ||
restore-keys: | | ||
- ${{ runner.os }}-gradle- | ||
- uses: actions/cache@v1 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: ~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
restore-keys: | | ||
- ${{ runner.os }}-gradlewrapper- | ||
- name: Publish candidate | ||
if: contains(github.ref, '-rc.') | ||
run: ./gradlew --info --stacktrace -Prelease.useLastTag=true candidate | ||
env: | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} | ||
- name: Publish release | ||
if: (!contains(github.ref, '-rc.')) | ||
run: ./gradlew --info -Prelease.useLastTag=true final | ||
env: | ||
NETFLIX_OSS_SONATYPE_USERNAME: ${{ secrets.ORG_SONATYPE_USERNAME }} | ||
NETFLIX_OSS_SONATYPE_PASSWORD: ${{ secrets.ORG_SONATYPE_PASSWORD }} | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} |
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,41 @@ | ||
name: "Publish snapshot to NetflixOSS and Maven Central" | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup git user | ||
run: | | ||
git config --global user.name "NetflixOss Maintainers" | ||
git config --global user.email "[email protected]" | ||
- name: Set up JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- uses: actions/cache@v2 | ||
id: gradle-cache | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} | ||
- uses: actions/cache@v2 | ||
id: gradle-wrapper-cache | ||
with: | ||
path: | | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradlewrapper-${{ hashFiles('gradle/wrapper/*') }} | ||
- name: Build | ||
run: ./gradlew build snapshot | ||
env: | ||
NETFLIX_OSS_SIGNING_KEY: ${{ secrets.ORG_SIGNING_KEY }} | ||
NETFLIX_OSS_SIGNING_PASSWORD: ${{ secrets.ORG_SIGNING_PASSWORD }} | ||
NETFLIX_OSS_REPO_USERNAME: ${{ secrets.ORG_NETFLIXOSS_USERNAME }} | ||
NETFLIX_OSS_REPO_PASSWORD: ${{ secrets.ORG_NETFLIXOSS_PASSWORD }} |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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,3 +1,3 @@ | ||
apply plugin: 'java' | ||
|
||
jar.baseName 'burp-extender' | ||
jar.archiveBaseName.set 'burp-extender' |
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,10 +1,10 @@ | ||
apply plugin: 'java' | ||
|
||
dependencies { | ||
compile 'javax.servlet:servlet-api:2.5' | ||
compile project(':msl-core') | ||
compile project(':msl-tests') | ||
compile project(':burp-extender') | ||
implementation 'javax.servlet:servlet-api:2.5' | ||
implementation project(':msl-core') | ||
implementation project(':msl-tests') | ||
implementation project(':burp-extender') | ||
} | ||
|
||
jar.baseName 'msl-burp-extender' | ||
jar.archiveBaseName.set 'msl-burp-extender' |
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,5 @@ | ||
apply plugin: 'java' | ||
|
||
dependencies { | ||
compile project(':msl-core') | ||
implementation project(':msl-core') | ||
} |
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,13 +1,13 @@ | ||
apply plugin: 'java' | ||
apply plugin: 'java-library' | ||
apply plugin: 'application' | ||
|
||
dependencies { | ||
compile 'javax.servlet:servlet-api:2.5' | ||
compile project(':msl-core') | ||
compile 'org.bouncycastle:bcprov-jdk15on:1.46' | ||
compile 'org.json:json:20140107' | ||
api 'javax.servlet:servlet-api:2.5' | ||
api project(':msl-core') | ||
api 'org.bouncycastle:bcprov-jdk15on:1.46' | ||
api 'org.json:json:20140107' | ||
} | ||
|
||
mainClassName = "mslcli.client.ClientApp" | ||
|
||
jar.baseName "mslcli-core" | ||
jar.archiveBaseName.set "mslcli-core" |
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,6 +1,6 @@ | ||
apply plugin: 'java' | ||
|
||
dependencies { | ||
compile project(':msl-core') | ||
compile 'io.reactivex:rxjava:latest.release' | ||
implementation project(':msl-core') | ||
implementation 'io.reactivex:rxjava:latest.release' | ||
} |
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,19 +1,19 @@ | ||
buildscript { | ||
repositories { jcenter() } | ||
dependencies { classpath 'org.akhikhl.gretty:gretty:latest.release' } | ||
repositories { mavenCentral() } | ||
dependencies { classpath 'org.gretty:gretty:3.1.0' } | ||
} | ||
|
||
apply plugin: 'war' | ||
apply plugin: 'eclipse-wtp' | ||
|
||
apply plugin: 'org.akhikhl.gretty' | ||
apply plugin: 'org.gretty' | ||
gretty { | ||
contextPath = "/msl-example-server" | ||
} | ||
|
||
dependencies { | ||
compile 'javax.servlet:servlet-api:2.5' | ||
compile project(':msl-core') | ||
implementation 'javax.servlet:servlet-api:2.5' | ||
implementation project(':msl-core') | ||
} | ||
|
||
war.baseName "msl-example-server" | ||
war.archiveBaseName.set "msl-example-server" |
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,20 +1,20 @@ | ||
buildscript { | ||
repositories { jcenter() } | ||
dependencies { classpath 'org.akhikhl.gretty:gretty:latest.release' } | ||
dependencies { classpath 'org.gretty:gretty:3.1.0' } | ||
} | ||
|
||
apply plugin: 'war' | ||
apply plugin: 'eclipse-wtp' | ||
|
||
apply plugin: 'org.akhikhl.gretty' | ||
apply plugin: 'org.gretty' | ||
gretty { | ||
contextPath = "/msl-websocket-server" | ||
} | ||
|
||
dependencies { | ||
compile project(':msl-core') | ||
compile "io.netty:netty-handler:latest.release" | ||
compile "io.netty:netty-codec-http:latest.release" | ||
implementation project(':msl-core') | ||
implementation "io.netty:netty-handler:latest.release" | ||
implementation "io.netty:netty-codec-http:latest.release" | ||
} | ||
|
||
war.baseName "msl-websocket-server" | ||
war.archiveBaseName.set "msl-websocket-server" |
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,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.