Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roll-w/fiesta
A Java annotation library with compile stage message.
https://github.com/roll-w/fiesta
java java-8 java-annotation-processor java-annotations
Last synced: about 1 month ago
JSON representation
A Java annotation library with compile stage message.
- Host: GitHub
- URL: https://github.com/roll-w/fiesta
- Owner: Roll-W
- License: apache-2.0
- Created: 2022-08-25T08:08:51.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-03-22T13:49:19.000Z (8 months ago)
- Last Synced: 2024-04-24T01:43:46.232Z (7 months ago)
- Topics: java, java-8, java-annotation-processor, java-annotations
- Language: Java
- Homepage:
- Size: 80.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fiesta
[![Maven Central][mcBadge]][mcLink] [![License][liBadge]][liLink]A simple java annotations library with compile stage processing.
## RequiredJDK 1.8 or higher.
## Getting Started
To add dependencies on Fiesta using Maven, use the following:```xml
space.lingu.fiesta
fiesta-annotations
0.2.1
space.lingu.fiesta
fiesta-checker
0.2.1
provided
```
> If you don't see warning output when compiling your project via maven,
set `true` in the maven-compiler-plugin configuration.Or using Gradle:
```gradle
dependencies {
// Annotation Module
implementation("space.lingu.fiesta:fiesta-annotations:0.2.1")
// Compile-time Annotation Check Module
compileOnly("space.lingu.fiesta:fiesta-checker:0.2.1")
}
```
> The compile-time annotation checker module is used to process annotations and output information during compilation.
>
> If you don't need the feature, it's safe not to use the dependency.After adding dependencies on Fiesta, you can use the `@Fiesta` annotation to test if it works.
Like this:
```java
@Fiesta
public class Main {
// other code
}
```
If you have set all options and dependencies correctly then you can see the message below when compiling:
> Hello from the Fiesta!You can use more annotations, such as `@Todo` to remind you to continue work on unfinished things,
or `@Experimental` to remind users of the API that this is an experimental API.Sincerely hope that you can improve your efficiency by using this library!
To report bugs or request a new feature, please open a new issue.
# Licence
```text
Copyright (C) 2022 LinguLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```[liBadge]: https://img.shields.io/github/license/Roll-W/fiesta?color=569cd6&style=flat-square
[liLink]: https://github.com/Roll-W/fiesta/blob/master/LICENSE
[mcBadge]: https://img.shields.io/maven-central/v/space.lingu.fiesta/fiesta-parent?style=flat-square
[mcLink]: https://search.maven.org/search?q=g:space.lingu.fiesta