Gradle
rife2
Gradle | rife2 | |
---|---|---|
92 | 14 | |
16,155 | 210 | |
0.8% | 1.9% | |
10.0 | 7.8 | |
2 days ago | 3 days ago | |
Groovy | Java | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Gradle
-
Setting up linters in Gitlab CI for C++ and Groovy / Jenkins code
Because executing CodeNarc from the command-line is not so simple, I find it easier to use Gradle and its dedicated plugin to execute CodeNarc:
-
Gradle's leaky abstractions: Declarative(ish) shell, imperative core: Implementing a safe(ish) global configuration DSL
A ("shared") build service is kind of like a singleton, in that when you register one in any project, it's available in all projects as a single instance. (This unfortunately turns out not to be true, in some cases, when using composite builds, but can be worked around.) An actual singleton (global static instance) doesn't work at all, for the record—try it if you want to lose some sanity. Anyway, use a build service whenever you need global mutable state in your build.
-
Working with Environment Variables in Java
When using build tools like Maven or Gradle, you can configure environment variables in the build scripts or configuration files.
-
Intro to Java Question
For large projects, purpose-made build tools such as Gradle and Maven are preferred for managing the directory structure since they introduce additional semantics for managing test code and other programming languages (among lots of other things). Most IDEs can integrate with these build tools easily. If you're just starting out though, I wouldn't worry too much about these, you can visit them later.
-
Quarkus 3.4 - Container-first Java Stack: Install with OpenJDK 21 and Create REST API
Project Build and Management: Apache Maven 3 (3.9.5), Gradle 8 (8.3)
- OpenJDK JDK 21 GA Release
-
Version Catalogs in Convention Plugins for multi-module Android code-base ?
No wonder this had been raised previously, https://github.com/gradle/gradle/issues/15383
-
Creating a Ktor Server with Gradle and SDKMAN!: A Step-by-Step Guide
Ktor, a powerful web framework built with Kotlin, offers a lightweight and flexible solution for building web applications. In this article, we will guide you through the process of creating a Ktor project manually using Gradle and SDKMAN!. By following the steps below, you'll have a basic Ktor project up and running in no time.
-
How to Run GitHub Code?
The details regarding the code compiling would vary from one project to another. For that project, it seems that it uses Gradle (a helper tool) for compiling. Check Gradle's documentation for more information.
- Como desenvolvi um backend web em Clojure
rife2
-
Introducing Bld: A New Pure Java Build System
It is possible, and I realize we've not written docs about it yes, we'll fix that soon. We're using two modules in RIFE2 and bld itself, one for the main build and one for the framework examples https://github.com/rife2/rife2/tree/main/src/bld/java/rife
-
Rife Is a Framework Experiment
There's more detail in the readme on GitHub:
https://github.com/gbevin/rife2
Including:
> RIFE2 has features that after 20 years still can't be found elsewhere: web continuations, bidirectional template engine, bean-centric metadata system, full-stack without dependencies, metadata-driven SQL builders, content management framework, full localization support, resource abstraction, persisted cron-like scheduler, continuations-based workflow engine.
Doesn't appear to have websocket support, though.
- Effortlessly create web applications with modern Java
- RIFE2 v1.3.0 with GraalVM native-image AOT compilation support
-
Getting Started with RIFE2
I'm very excited to see what web projects, both big and small, can be accomplished with such a self-contained framework like RIFE2. And we've only scratched the surface! There's a built-in template system, Continuations, and much more. Definitely read the docs if you want to dig deeper into this framework. Also, be sure to thank the framework author, Geert Bevin, for the amount of effort he has put into this!
-
RIFE2 web framework v1.0.0 released!
The validation and meta-data however doesn't require the model to extend a class, there's the possibility to use meta-data merging to have a sibling class that implements the RIFE2 specific logic, which will be merged at runtime through bytecode instrumentation: https://github.com/gbevin/rife2/wiki/Metadata-Merging
-
We released a small no-dependencies UrlEncoder library for Kotlin and Java that actually encodes URL parameters and not HTML form parameters, as the JDK URLEncoder does.
RIFE2 does support arbitrary parameters, in various ways. The manual way is when generating a URL with urlFor, you can add parameters to it c.urlFor(route).param(key, value).param(key, value). You can also annotated Element class fields with @Parameter which will have RIFE2 automatically inject the incoming value, there's an additional annotation attribute that can be set to specific the flow of the data: in, out or inout. When you generate a URL with c.urlFor(route), RIFE2 will look at the element currently in your context, the element targeted by your route and any out parameters that have corresponding in parameter names on the target, will be automatically added to the generated URL with the value they currently hold. Some of that is documented here, but it could definitely use some more love: https://github.com/gbevin/rife2/wiki/Field-Annotations
-
Excited for 2023!
Java seems to have gained a second wind in recent years, and the innovation in this ecosystem is speeding up. Java 20 and LTS release 21 are expected to happen this year. RIFE2, an actively-developed pure-Java web framework, has recently caught my attention. Like Javalin, it appears to be built on top of the successful Jetty server. I also started exploring FXGL for building games with Java. Lastly, as concerns over COVID-19 variants wane I expect an increase in Java developers participating in community events. For example, Chicago finally had its first in-person JConf event and the Chicago Java User Group (CJUG) is easing back into in-person events.
-
RIFE2 web framework under development
There's a step-by-step readme to get a quick glance at the feel and the approach: https://github.com/gbevin/rife2/blob/main/README.md, a series of concise examples https://github.com/gbevin/rife2/tree/main/app/src/main/java/rife and a growing full manual: https://github.com/gbevin/rife2/wiki
What are some alternatives?
Bazel - a fast, scalable, multi-language and extensible build system
penna - Opinionated SLF4J backend that logs natively to json
Buck - A fast build system that encourages the creation of small, reusable modules over a variety of platforms and languages.
savant-core - This is the main project for the Savant build tool
Apache Maven - Apache Maven core
FXGL - Java / JavaFX / Kotlin Game Library (Engine)
maven-mvnd - Apache Maven Daemon
renovate - Universal dependency automation tool.
Apache Ant - Apache Ant is a Java-based build tool.
OkHttp - Square’s meticulous HTTP client for the JVM, Android, and GraalVM.
Drools - This repository is a fork of apache/incubator-kie-drools. Please use upstream repository for development.