Skip to content

Commit 4597024

Browse files
committed
Remove logging and prepare for publishing under org.openrewrite.tools
1 parent 6f57666 commit 4597024

75 files changed

Lines changed: 90 additions & 5919 deletions

File tree

Some content is hidden

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

‎.github/CONTRIBUTING.md‎

Lines changed: 0 additions & 38 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: ci
3+
4+
on:
5+
push:
6+
branches:
7+
- main
8+
tags-ignore:
9+
- "*"
10+
pull_request:
11+
branches:
12+
- main
13+
workflow_dispatch: {}
14+
schedule:
15+
- cron: 0 18 * * *
16+
17+
concurrency:
18+
group: ci-${{ github.ref }}
19+
cancel-in-progress: true
20+
21+
jobs:
22+
build:
23+
uses: openrewrite/gh-automation/.github/workflows/ci-gradle.yml@main
24+
secrets:
25+
gradle_enterprise_access_key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
26+
gradle_enterprise_cache_username: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USERNAME }}
27+
gradle_enterprise_cache_password: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
28+
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
29+
ossrh_token: ${{ secrets.OSSRH_TOKEN }}
30+
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }}
31+
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }}

‎.github/workflows/publish.yml‎

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: publish
3+
4+
on:
5+
push:
6+
tags:
7+
- v[0-9]+.[0-9]+.[0-9]+
8+
- v[0-9]+.[0-9]+.[0-9]+-rc.[0-9]+
9+
10+
concurrency:
11+
group: publish-${{ github.ref }}
12+
cancel-in-progress: false
13+
14+
jobs:
15+
release:
16+
uses: openrewrite/gh-automation/.github/workflows/publish-gradle.yml@main
17+
secrets:
18+
gradle_enterprise_access_key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
19+
ossrh_username: ${{ secrets.OSSRH_USERNAME }}
20+
ossrh_token: ${{ secrets.OSSRH_TOKEN }}
21+
ossrh_signing_key: ${{ secrets.OSSRH_SIGNING_KEY }}
22+
ossrh_signing_password: ${{ secrets.OSSRH_SIGNING_PASSWORD }}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
name: repository-backup
3+
on:
4+
workflow_dispatch: {}
5+
schedule:
6+
- cron: 0 17 * * *
7+
8+
concurrency:
9+
group: backup-${{ github.ref }}
10+
cancel-in-progress: false
11+
12+
jobs:
13+
repository-backup:
14+
uses: openrewrite/gh-automation/.github/workflows/repository-backup.yml@main
15+
secrets:
16+
bucket_mirror_target: ${{ secrets.S3_GITHUB_REPOSITORY_BACKUPS_BUCKET_NAME }}
17+
bucket_access_key_id: ${{ secrets.S3_GITHUB_REPOSITORY_BACKUPS_ACCESS_KEY_ID }}
18+
bucket_secret_access_key: ${{ secrets.S3_GITHUB_REPOSITORY_BACKUPS_SECRET_ACCESS_KEY }}

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## Features
1111

12-
* Works out-of-the-box with with almost any kind of object and arbitrarily deep nesting
12+
* Works out-of-the-box with almost any kind of object and arbitrarily deep nesting
1313
* Finds the differences between two objects
1414
* Returns the differences in shape of an easily traversable tree structure
1515
* Tells you everything there is to know about the detected changes

‎build.gradle‎

Lines changed: 0 additions & 222 deletions
This file was deleted.

‎build.gradle.kts‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
plugins {
2+
groovy
3+
id("org.openrewrite.build.recipe-library") version "1.8.1"
4+
}
5+
6+
group = "org.openrewrite.tools"
7+
8+
dependencies {
9+
testImplementation("org.spockframework:spock-core:1.2-groovy-2.5")
10+
testRuntimeOnly("org.junit.platform:junit-platform-launcher:latest.release")
11+
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:latest.release")
12+
}

‎gradle/wrapper/gradle-wrapper.jar‎

-52.9 KB
Binary file not shown.

‎gradle/wrapper/gradle-wrapper.properties‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
#Wed Feb 15 23:14:03 CET 2017
21
distributionBase=GRADLE_USER_HOME
32
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4+
distributionSha256Sum=7ba68c54029790ab444b39d7e293d3236b2632631fb5f2e012bb28b4ff669e4b
5+
networkTimeout=10000
46
zipStoreBase=GRADLE_USER_HOME
57
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

‎settings.gradle‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)