Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump kotlinVersion from 1.9.24 to 2.0.0 in /auto-pipeline-examples #295

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
943e2db
chore(deps): bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] Mar 26, 2024
c9ea8d3
chore(deps): bump io.netty:netty-bom from 4.1.106.Final to 4.1.108.Final
dependabot[bot] Mar 22, 2024
e27b6c8
chore: start 0.4.0-SNAPSHOT
zavakid Apr 9, 2024
3f47075
docs: update latest version from 0.2.0 to 0.3.0
zavakid Apr 9, 2024
5edb4c0
chore(deps): bump version in /auto-pipeline-examples
dependabot[bot] Apr 10, 2024
ae2d386
chore(deps): bump org.slf4j:slf4j-api from 2.0.11 to 2.0.12
dependabot[bot] Apr 6, 2024
00d4399
chore(deps): bump org.apache.maven.plugins:maven-source-plugin
dependabot[bot] Apr 15, 2024
f8661b9
docs: try new docs
Apr 26, 2024
960520d
docs: add trailingSlash false for url
zavakid Apr 27, 2024
d355b01
docs: introduction
zavakid Apr 27, 2024
9c67c1c
docs: add dependency
zavakid Apr 27, 2024
2d321c9
docs: add quick start
zavakid Apr 27, 2024
c6f3c2a
docs: switch doc engine to Docusaurus
zavakid Apr 27, 2024
00852c4
ci: update docs workflow
zavakid Apr 27, 2024
b3af098
chore: remove unnecessary code
zavakid Apr 27, 2024
94131e4
docs: improve docs
zavakid Apr 27, 2024
a428b1a
chore(deps): bump org.apache.maven.plugins:maven-jar-plugin
dependabot[bot] Apr 24, 2024
598f3be
chore(deps): bump codecov/codecov-action from 3 to 4
dependabot[bot] Feb 1, 2024
1366334
chore(deps): bump actions/upload-pages-artifact from 2 to 3
dependabot[bot] Apr 29, 2024
f6f4559
chore(deps): bump actions/configure-pages from 3 to 5
dependabot[bot] Apr 29, 2024
d9c2092
chore(deps): bump actions/deploy-pages from 2 to 4
dependabot[bot] Apr 29, 2024
373a804
chore(deps): bump actions/setup-node from 3 to 4
dependabot[bot] Apr 29, 2024
e34a8bf
chore(deps): bump kotest.version from 5.8.0 to 5.8.1
dependabot[bot] Apr 8, 2024
d5367ed
chore(deps): bump io.netty:netty-bom from 4.1.108.Final to 4.1.109.Final
dependabot[bot] Apr 29, 2024
4c145ff
chore(deps): bump org.apache.maven.plugins:maven-compiler-plugin
dependabot[bot] Apr 9, 2024
aed0e5d
chore(deps): bump org.jacoco:jacoco-maven-plugin from 0.8.11 to 0.8.12
dependabot[bot] Apr 8, 2024
d1badbb
chore(deps): bump org.junit:junit-bom from 5.10.1 to 5.10.2
dependabot[bot] May 1, 2024
417a7ba
chore(deps): bump org.junit:junit-bom in /auto-pipeline-examples
dependabot[bot] May 1, 2024
32ee5bf
chore(deps): bump com.github.spotbugs:spotbugs-annotations
dependabot[bot] May 6, 2024
6dd08fd
chore(deps): bump org.apache.maven.plugins:maven-deploy-plugin
dependabot[bot] May 1, 2024
e6b7811
chore(deps-dev): bump org.apache.commons:commons-text
dependabot[bot] May 1, 2024
48d175d
chore(deps): bump org.apache.maven.plugins:maven-gpg-plugin
dependabot[bot] May 1, 2024
089b1dd
chore(deps): bump org.slf4j:slf4j-api from 2.0.12 to 2.0.13
dependabot[bot] May 1, 2024
b6436c7
chore(deps): bump kotlinVersion in /auto-pipeline-examples
dependabot[bot] May 7, 2024
20b2275
chore: remove unused prop
zavakid May 22, 2024
d6c0a7c
chore(deps): bump kotest.version from 5.8.1 to 5.9.0
dependabot[bot] May 10, 2024
a9a58ab
chore(deps): bump org.apache.maven.plugins:maven-install-plugin
dependabot[bot] May 8, 2024
f006183
---
dependabot[bot] May 22, 2024
0c11e6a
chore(deps): bump org.sonatype.plugins:nexus-staging-maven-plugin
dependabot[bot] May 28, 2024
6bc6eaa
chore(deps): bump kotestVersion in /auto-pipeline-examples
dependabot[bot] Jun 7, 2024
84fdef1
---
dependabot[bot] Jun 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions .github/workflows/deploy.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Build and Publish Docs to GitHub Pages
on:
release:
types:
- created
# Allow running this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
packages: write

jobs:
deploy:
runs-on: ubuntu-latest

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: 'maven'

- name: Generate Javadoc
run: mvn javadoc:aggregate -DskipTests

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'

- run: cd docs && npm ci
- run: cd docs && npm run build
- run: cp -R target/site/apidocs docs/build/

- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload docs
uses: actions/upload-pages-artifact@v3
with:
# Upload entire repository
path: './docs/build/.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/strong-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Upload coverage to Codecov
# https://github.com/marketplace/actions/codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ for `maven` project:
<dependency>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-processor</artifactId>
<version>0.2.0</version>
<version>0.3.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand All @@ -59,16 +59,16 @@ for `gradle` project:
* Gradle Kotlin DSL
*/
// the auto-pipeline annotation will be used in your interface type
compileOnly("com.foldright.auto-pipeline:auto-pipeline-annotations:0.2.0")
compileOnly("com.foldright.auto-pipeline:auto-pipeline-annotations:0.3.0")
// the auto-pipeline annotation processor will generate the pipeline classes for the interface.
// use "annotationProcessor" scope because it's only needed at annotation processing time.
annotationProcessor("com.foldright.auto-pipeline:auto-pipeline-processor:0.2.0")
annotationProcessor("com.foldright.auto-pipeline:auto-pipeline-processor:0.3.0")

/*
* Gradle Groovy DSL
*/
compileOnly 'com.foldright.auto-pipeline:auto-pipeline-annotations:0.2.0'
annotationProcessor 'com.foldright.auto-pipeline:auto-pipeline-processor:0.2.0'
compileOnly 'com.foldright.auto-pipeline:auto-pipeline-annotations:0.3.0'
annotationProcessor 'com.foldright.auto-pipeline:auto-pipeline-processor:0.3.0'
```

`auto-pipeline` has published to maven central, click here
Expand Down
2 changes: 1 addition & 1 deletion auto-pipeline-annotations/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-parent</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
8 changes: 4 additions & 4 deletions auto-pipeline-examples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ import org.jetbrains.kotlin.gradle.plugin.getKotlinPluginVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
val kotlinVersion = "1.9.23"
val kotlinVersion = "2.0.0"
kotlin("jvm") version kotlinVersion
}

group = "com.foldright.auto-pipeline"
version = "0.3.0-SNAPSHOT"
version = "0.3.0"

repositories {
mavenLocal()
Expand All @@ -28,7 +28,7 @@ dependencies {
*/
testImplementation(kotlin("test"))
// https://kotest.io/docs/quickstart
val kotestVersion = "5.8.1"
val kotestVersion = "5.9.1"
testImplementation("io.kotest:kotest-runner-junit5-jvm:$kotestVersion")
testImplementation("io.kotest:kotest-assertions-core-jvm:$kotestVersion")
testImplementation("io.kotest:kotest-property-jvm:$kotestVersion")
Expand All @@ -38,7 +38,7 @@ dependencies {
*/
val kotlinVersion = project.getKotlinPluginVersion()
implementation(platform("org.jetbrains.kotlin:kotlin-bom:${kotlinVersion}"))
implementation(platform("org.junit:junit-bom:5.10.1"))
implementation(platform("org.junit:junit-bom:5.10.2"))
implementation(platform("org.apache.logging.log4j:log4j-bom:2.23.1"))
}

Expand Down
2 changes: 1 addition & 1 deletion auto-pipeline-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-parent</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion auto-pipeline-processor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.foldright.auto-pipeline</groupId>
<artifactId>auto-pipeline-parent</artifactId>
<version>0.3.0-SNAPSHOT</version>
<version>0.4.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import javax.lang.model.util.Types

class AutoPipelineClassDescriptor(
elements: Elements,
private val types: Types,
private val entityElement: TypeElement
) {
// entity description
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class AutoPipelineProcessor : AbstractProcessor() {
}

private fun doProcess(element: TypeElement) {
val classDescriptor = AutoPipelineClassDescriptor(elements, types, element)
val classDescriptor = AutoPipelineClassDescriptor(elements, element)
val generator = SourceGeneratorFacade(classDescriptor, filer)

generator.genSourceCode()
Expand Down
20 changes: 20 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
32 changes: 32 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Docs

This docs is built using [Docusaurus](https://docusaurus.io/), a modern static website generator.



### Local Development

Starts the development server.
```
npm start
```

Serves the built website locally.
```
npm run serve
```

We recommend that you begin by typing:
```
npm start
```

Happy building awesome websites!

### Build

```
npm run build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
3 changes: 3 additions & 0 deletions docs/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
12 changes: 12 additions & 0 deletions docs/blog/2019-05-28-first-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
slug: first-blog-post
title: First Blog Post
authors:
name: Gao Wei
title: Docusaurus Core Team
url: https://github.com/wgao19
image_url: https://github.com/wgao19.png
tags: [hola, docusaurus]
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
44 changes: 44 additions & 0 deletions docs/blog/2019-05-29-long-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
slug: long-blog-post
title: Long Blog Post
authors: endi
tags: [hello, docusaurus]
---

This is the summary of a very long blog post,

Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.

<!--truncate-->

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
20 changes: 20 additions & 0 deletions docs/blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
slug: mdx-blog-post
title: MDX Blog Post
authors: [slorber]
tags: [docusaurus]
---

Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).

:::tip

Use the power of React to create interactive blog posts.

```js
<button onClick={() => alert('button clicked!')}>Click me!</button>
```

<button onClick={() => alert('button clicked!')}>Click me!</button>

:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions docs/blog/2021-08-26-welcome/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
slug: welcome
title: Welcome
authors: [slorber, yangshun]
tags: [facebook, hello, docusaurus]
---

[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).

Simply add Markdown files (or folders) to the `blog` directory.

Regular blog authors can be added to `authors.yml`.

The blog post date can be extracted from filenames, such as:

- `2019-05-30-welcome.md`
- `2019-05-30-welcome/index.md`

A blog post folder can be convenient to co-locate blog post images:

![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)

The blog supports tags as well!

**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
17 changes: 17 additions & 0 deletions docs/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
endi:
name: Endilie Yacop Sucipto
title: Maintainer of Docusaurus
url: https://github.com/endiliey
image_url: https://github.com/endiliey.png

yangshun:
name: Yangshun Tay
title: Front End Engineer @ Facebook
url: https://github.com/yangshun
image_url: https://github.com/yangshun.png

slorber:
name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
Loading
Loading