You can switch branches to view documents in different languages.
by Daybreak312
Smoodi is a Java enterprise-based framework for building web application servers.
It provides the foundational infrastructure needed to run applications, enabling developers to focus solely on business logic.
Smoodi aims to deliver a streamlined and highly productive development environment.
To add Smoodi to your project, include the following dependency in your dependencies
block.
Replace version
with the desired Smoodi version.
Groovy (build.gradle)
dependencies {
implementation 'org.smoodi.framework:smoodi-web:version'
}
Kotlin DSL (build.gradle.kts)
dependencies {
implementation("org.smoodi.framework:smoodi-web:version")
}
Smoodi is distributed via GitHub Packages.
Add the repository to your repositories
block.
Groovy (build.gradle)
repositories {
maven {
name = 'GitHubPackages'
url = 'https://maven.pkg.github.com/Project-Smoodi/Smoodi-Core'
credentials {
username = project.findProperty('gpr.user') // GitHub username, set via Gradle properties
password = System.getenv('TOKEN') // GHP token with 'read:packages' permission, set via environment variables
}
}
mavenCentral() // Include if you need dependencies from Maven Central.
}
Kotlin DSL (build.gradle.kts)
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/Project-Smoodi/Smoodi-Core")
credentials {
username = project.findProperty("gpr.user") // GitHub username, set via Gradle properties
password = System.getenv("TOKEN") // GHP token with 'read:packages' permission, set via environment variables
}
}
mavenCentral() // Include if you need dependencies from Maven Central.
}
The credentials
section provides authentication for accessing GitHub Packages.
username
: Your GitHub username.password
: A GitHub token (GHP token) with theread:packages
permission.
gradle.properties
) or system environment variables for security.
For details on generating a GHP token, refer to the GitHub documentation.
Once the dependencies are configured, download them by running the following command in your project’s root directory:
./gradlew