Skip to content

Commit 2f6d6c5

Browse files
committed
Release 0.0.5
0 parents  commit 2f6d6c5

File tree

276 files changed

+51637
-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.

276 files changed

+51637
-0
lines changed

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Specify files that shouldn't be modified by Fern

.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: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 'com.squareup.okhttp3:okhttp:4.9.3'
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 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.12.3'
19+
}
20+
21+
spotless {
22+
java {
23+
palantirJavaFormat()
24+
}
25+
}
26+
27+
java {
28+
withSourcesJar()
29+
withJavadocJar()
30+
}
31+
32+
publishing {
33+
publications {
34+
maven(MavenPublication) {
35+
groupId = 'io.squidex'
36+
artifactId = 'squidex'
37+
version = '0.0.5'
38+
from components.java
39+
}
40+
}
41+
repositories {
42+
maven {
43+
url "$System.env.MAVEN_PUBLISH_REGISTRY_URL"
44+
credentials {
45+
username "$System.env.MAVEN_USERNAME"
46+
password "$System.env.MAVEN_PASSWORD"
47+
}
48+
}
49+
}
50+
}
51+

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)