slugstack-rewrite-java-definitions

slugstack-rewrite-java-definitions description coming to you from the project root

License

License

Categories

Categories

Java Languages
GroupId

GroupId

io.slugstack.oss
ArtifactId

ArtifactId

slugstack-rewrite-java-definitions
Last Version

Last Version

0.0.10
Release Date

Release Date

Type

Type

pom.sha512
Description

Description

slugstack-rewrite-java-definitions
slugstack-rewrite-java-definitions description coming to you from the project root

Download slugstack-rewrite-java-definitions

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

slugstack-rewrite-java-definitions

openrewrite examples, samples, and definitions

uses jenv for .java-version management

EncapsulateData usage

See the main openrewrite documentation regarding Recipes and Environment; nobody is actually reading this except future-me, and this is really just an exercise to mentally reinforce the configuration and usage flow.

scratchpad notes

configure<nebula.plugin.release.git.base.ReleasePluginExtension> {
    defaultVersionStrategy = nebula.plugin.release.NetflixOssStrategies.SNAPSHOT(project)
}

dependency locking: when adding new plugins, needed to perform --write-locks initially for consumption.


./gradlew rewriteDiscover

./gradlew wrapper --gradle-version=7.1-20210318230057+0000

a declarative recipe shouldn't have it's class equivalent defined in the same project. as in, this will cause a stackoverflow:

---
type: specs.openrewrite.org/v1beta/recipe
name: io.slugstack.rewritejavarecipes.EncapsulateData # <-- same name
recipeList:
  - io.slugstack.rewritejavarecipes.EncapsulateData # <-- same name

you shouldn't have to do this to begin with, but it's just an interesting thing to note that the error is a stackoverflow. just pointing it out in case it comes up.


io.slugstack.oss
occasional oss contributions and mini project holdings under @aegershman

Versions

Version
0.0.10
0.0.9
0.0.8