Skip to content

Commit b99574f

Browse files
committed
Release 0.0.5
1 parent a452b5a commit b99574f

File tree

111 files changed

+13135
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+13135
-0
lines changed

.github/workflows/ci.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: ci
2+
3+
on: [push]
4+
5+
jobs:
6+
compile:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- name: Checkout repo
11+
uses: actions/checkout@v3
12+
13+
- name: Set up Java
14+
id: setup-jre
15+
uses: actions/setup-java@v1
16+
with:
17+
java-version: "11"
18+
architecture: x64
19+
20+
- name: Compile
21+
run: ./gradlew compileJava
22+
23+
publish:
24+
needs: [ compile ]
25+
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
26+
runs-on: ubuntu-latest
27+
28+
steps:
29+
- name: Checkout repo
30+
uses: actions/checkout@v3
31+
32+
- name: Set up Java
33+
id: setup-jre
34+
uses: actions/setup-java@v1
35+
with:
36+
java-version: "11"
37+
architecture: x64
38+
39+
- name: Publish to maven
40+
run: |
41+
./gradlew publish
42+
env:
43+
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
44+
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
45+
MAVEN_PUBLISH_REGISTRY_URL: "https://s01.oss.sonatype.org/content/repositories/releases/"

.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
*.class
2+
.project
3+
.gradle
4+
?
5+
.classpath
6+
.checkstyle
7+
.settings
8+
.node
9+
build
10+
11+
# IntelliJ
12+
*.iml
13+
*.ipr
14+
*.iws
15+
.idea/
16+
out/
17+
18+
# Eclipse/IntelliJ APT
19+
generated_src/
20+
generated_testSrc/
21+
generated/
22+
23+
bin
24+
build

build.gradle

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
plugins {
2+
id 'java-library'
3+
id 'maven-publish'
4+
id 'com.diffplug.spotless' version '6.11.0'
5+
}
6+
7+
repositories {
8+
mavenCentral()
9+
maven {
10+
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
11+
}
12+
}
13+
14+
dependencies {
15+
api 'io.github.fern-api:jersey-utils:0.0.82'
16+
api 'com.fasterxml.jackson.core:jackson-databind:2.13.0'
17+
api 'com.fasterxml.jackson.datatype:jackson-datatype-jdk8:2.12.3'
18+
api 'io.github.openfeign:feign-jackson:11.8'
19+
api 'io.github.openfeign:feign-core:11.8'
20+
api 'io.github.openfeign:feign-jaxrs2:11.8'
21+
}
22+
23+
spotless {
24+
java {
25+
googleJavaFormat()
26+
}
27+
}
28+
29+
java {
30+
withSourcesJar()
31+
withJavadocJar()
32+
}
33+
34+
publishing {
35+
publications {
36+
maven(MavenPublication) {
37+
groupId = 'io.github.fern-api'
38+
artifactId = 'codecombat'
39+
version = '0.0.5'
40+
from components.java
41+
}
42+
}
43+
repositories {
44+
maven {
45+
url "$System.env.MAVEN_PUBLISH_REGISTRY_URL"
46+
credentials {
47+
username "$System.env.MAVEN_USERNAME"
48+
password "$System.env.MAVEN_PASSWORD"
49+
}
50+
}
51+
}
52+
}
53+

gradle/wrapper/gradle-wrapper.jar

58.4 KB
Binary file not shown.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4.2-bin.zip
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)