Merge pull request #343 from abrensch/revert-342-test-and11
Revert "Update from abrensch/brouter"
This commit is contained in:
commit
014079898a
3 changed files with 26 additions and 44 deletions
26
.github/workflows/gradle.yml
vendored
Normal file
26
.github/workflows/gradle.yml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||||
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
|
||||||
|
|
||||||
|
name: Java CI with Gradle
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
pull_request:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Set up JDK 8
|
||||||
|
uses: actions/setup-java@v2
|
||||||
|
with:
|
||||||
|
java-version: '8'
|
||||||
|
distribution: 'zulu'
|
||||||
|
cache: gradle
|
||||||
|
- name: Build with Gradle
|
||||||
|
run: ./gradlew build
|
|
@ -1,27 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'maven-publish'
|
|
||||||
}
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
name = "Github"
|
|
||||||
url = uri("https://maven.pkg.github.com/afischerdev/brouter")
|
|
||||||
credentials {
|
|
||||||
username = findProperty("github.username")
|
|
||||||
password = findProperty("github.token")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
publications {
|
|
||||||
register("jar", MavenPublication) {
|
|
||||||
from(components["java"])
|
|
||||||
pom {
|
|
||||||
url.set("https://github.com/afischerdev/brouter.git")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
@ -1,27 +1,5 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'maven-publish'
|
|
||||||
}
|
|
||||||
|
|
||||||
publishing {
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
name = "Github"
|
|
||||||
url = uri("https://maven.pkg.github.com/afischerdev/brouter")
|
|
||||||
credentials {
|
|
||||||
username = findProperty("github.username")
|
|
||||||
password = findProperty("github.token")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
publications {
|
|
||||||
register("jar", MavenPublication) {
|
|
||||||
from(components["java"])
|
|
||||||
pom {
|
|
||||||
url.set("https://github.com/afischerdev/brouter.git")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Reference in a new issue