A Kotlin Multiplatform library for mathematical analysis operations.
- Polynomial root finding with Laguerre's method
Add the following to your build.gradle.kts:
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/mihbor/sciko-analysis")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
}
}
}
dependencies {
implementation("ltd.mbor.sciko:sciko-analysis:0.1-SNAPSHOT")
}To use packages from GitHub Packages, you need to authenticate:
-
Using environment variables:
export USERNAME=your-github-username export TOKEN=your-github-personal-access-token
-
Using gradle.properties:
gpr.user=your-github-username gpr.key=your-github-personal-access-token
The personal access token needs the read:packages scope.
The library is automatically published to GitHub Packages on every push to the main branch, when a release is created, or when the workflow is manually triggered.
To publish manually:
export USERNAME=your-github-username
export TOKEN=your-github-personal-access-token
./gradlew publishAllPublicationsToGitHubPackagesRepository./gradlew build./gradlew testLicensed under the Apache License 2.0. See LICENSE for details.