-
Notifications
You must be signed in to change notification settings - Fork 13
Use version catalog for storing dependencies #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,16 @@ | ||
| plugins { | ||
| id("org.jetbrains.dokka") version "1.9.0" | ||
| id("org.jetbrains.dokka") | ||
| } | ||
|
|
||
| repositories { | ||
| mavenCentral() | ||
| } | ||
|
|
||
| /* | ||
| * Configure default gradle wrapper task to validate currently used gradle wrapper version against value set in versions | ||
| * catalog. When value differs task will automatically update wrapper configuration file with version from catalog. | ||
| * After this gradle wrapper binary will be updated before next task execution. | ||
| */ | ||
| tasks.named<Wrapper>("wrapper") { | ||
| gradleVersion = libs.versions.gradle.wrapper.get() | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,9 @@ | ||
| rootProject.name = "akkurate-conventions" | ||
|
|
||
| dependencyResolutionManagement { | ||
| versionCatalogs { | ||
| create("libs") { | ||
| from(files("../gradle/libs.versions.toml")) | ||
| } | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,2 @@ | ||
| org.gradle.jvmargs=-Xmx4g | ||
| kotlin.code.style=official | ||
| kotlin_version=1.9.10 | ||
| ktor_version=3.0.1 | ||
| logback_version=1.4.14 | ||
| exposed_version=0.56.0 | ||
| h2_version=2.3.232 | ||
| kotlin.code.style=official |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| [versions] | ||
| # https://gradle.org/releases/ | ||
| # To actually update gradle wrapper binary after updating this value call wrapper task ("gradlew wrapper") and any | ||
| # other task aftewards. | ||
| gradle-wrapper = "8.1.1" | ||
| # https://kotlinlang.org/docs/releases.html | ||
| kotlin-language = "2.0.20" | ||
| # https://github.com/google/ksp/releases | ||
| kotlin-symbolProcessing = "2.0.20-1.0.24" | ||
| # https://github.com/Kotlin/kotlinx.coroutines/releases | ||
| kotlinx-coroutines = "1.9.0" | ||
| # https://github.com/Kotlin/kotlinx-datetime/releases | ||
| kotlinx-datetime = "0.6.1" | ||
| # https://github.com/Kotlin/kotlinx.serialization/releases | ||
| kotlinx-serialization = "1.7.3" | ||
| # https://github.com/Kotlin/binary-compatibility-validator | ||
| kotlinx-binaryValidator = "0.17.0" | ||
| # https://github.com/ktorio/ktor/releases | ||
| ktor = "3.0.0" | ||
| # https://logback.qos.ch/news.html | ||
| logback = "1.4.14" | ||
| # https://github.com/JetBrains/Exposed/releases | ||
| exposed = "0.56.0" | ||
| # https://github.com/h2database/h2database/releases | ||
| h2 = "2.3.232" | ||
| # https://github.com/arrow-kt/arrow/releases | ||
| arrow = "1.2.0" | ||
| # https://github.com/Kotlin/dokka/releases | ||
| dokka = "1.9.0" | ||
| # https://square.github.io/kotlinpoet/changelog/ | ||
| kotlinpoet = "1.14.2" | ||
| # https://github.com/tschuchortdev/kotlin-compile-testing/releases | ||
| kotlinCompileTesting = "1.5.0" | ||
| # https://github.com/pedrovgs/KotlinSnapshot/releases | ||
| kotlinSnapshot = "2.3.0" | ||
| # https://github.com/radarsh/gradle-test-logger-plugin/releases | ||
| testLogger = "3.2.0" | ||
| # https://github.com/mockk/mockk/releases | ||
| mockk = "1.13.13" | ||
|
|
||
| [libraries] | ||
| kotlin-plugin = { group = "org.jetbrains.kotlin", name = "kotlin-gradle-plugin", version.ref = "kotlin-language" } | ||
| kotlin-test-junit = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", version.ref = "kotlin-language" } | ||
| kotlin-symbolProcessing-api = { group = "com.google.devtools.ksp", name = "symbol-processing-api", version.ref = "kotlin-symbolProcessing" } | ||
| kotlin-symbolProcessing-plugin = { group = "com.google.devtools.ksp", name = "symbol-processing-gradle-plugin", version.ref = "kotlin-symbolProcessing" } | ||
|
|
||
| kotlinx-serialization-plugin = { group = "org.jetbrains.kotlin.plugin.serialization", name = "org.jetbrains.kotlin.plugin.serialization.gradle.plugin", version.ref = "kotlin-language" } | ||
| kotlinx-serialization-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-core", version.ref = "kotlinx-serialization" } | ||
| kotlinx-datetime = { group = "org.jetbrains.kotlinx", name = "kotlinx-datetime", version.ref = "kotlinx-datetime" } | ||
| kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" } | ||
| kotlinx-binaryValidator-plugin = { group = "org.jetbrains.kotlinx.binary-compatibility-validator", name = "org.jetbrains.kotlinx.binary-compatibility-validator.gradle.plugin", version.ref = "kotlinx-binaryValidator" } | ||
|
|
||
| kotlinpoet-core = { group = "com.squareup", name = "kotlinpoet", version.ref = "kotlinpoet" } | ||
| kotlinpoet-ksp = { group = "com.squareup", name = "kotlinpoet-ksp", version.ref = "kotlinpoet" } | ||
|
|
||
| arrow-core = { group = "io.arrow-kt", name = "arrow-core", version.ref = "arrow" } | ||
|
|
||
| ktor-plugin = { group = "io.ktor.plugin", name = "io.ktor.plugin.gradle.plugin", version.ref = "ktor" } | ||
| ktor-serialization-json = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" } | ||
| ktor-server-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" } | ||
| ktor-server-netty = { group = "io.ktor", name = "ktor-server-netty", version.ref = "ktor" } | ||
| ktor-server-contentNegotiation = { group = "io.ktor", name = "ktor-server-content-negotiation", version.ref = "ktor" } | ||
| ktor-server-hostCommon = { group = "io.ktor", name = "ktor-server-host-common", version.ref = "ktor" } | ||
| ktor-server-statusPages = { group = "io.ktor", name = "ktor-server-status-pages", version.ref = "ktor" } | ||
| ktor-server-requestValidation = { group = "io.ktor", name = "ktor-server-request-validation", version.ref = "ktor" } | ||
| ktor-server-test = { group = "io.ktor", name = "ktor-server-test-host", version.ref = "ktor" } | ||
| ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" } | ||
| ktor-client-contentNegotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" } | ||
|
|
||
| kotlinCompileTesting-ksp = { group = "com.github.tschuchortdev", name = "kotlin-compile-testing-ksp", version.ref = "kotlinCompileTesting" } | ||
| kotlinSnapshot-plugin = { group = "com.karumi.kotlinsnapshot", name = "plugin", version.ref = "kotlinSnapshot" } | ||
| dokka-plugin = { group = "org.jetbrains.dokka", name = "dokka-gradle-plugin", version.ref = "dokka" } | ||
| exposed-core = { group = "org.jetbrains.exposed", name = "exposed-core", version.ref = "exposed" } | ||
| exposed-jdbc = { group = "org.jetbrains.exposed", name = "exposed-jdbc", version.ref = "exposed" } | ||
| h2 = { group = "com.h2database", name = "h2", version.ref = "h2" } | ||
| logback = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" } | ||
| testLogger-plugin = { group = "com.adarshr", name = "gradle-test-logger-plugin", version.ref = "testLogger" } | ||
| mockk = { group = "io.mockk", name = "mockk", version.ref = "mockk" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a comment here to explain what this code does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, you can tell me here what's the point of this code, then let me add the comment and merge the PR :)
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies about delay, I was moving into new apartments with unfinished renovation so all my free time went into finishing it. And as if that wasn't enough my PC suddenly decided to die. But "Today, we are canceling the apocalypse", I finally finished some important milestone in my "home project" (haha, get it? =D), had some free time to finally fix my PC and write the comment I promised (not this one). Turned out PC was working, just some random HDMI and DP ports ("Display Port" ports, duh) on GPU stopped to work without any particular reason. Maybe because I discussed nvidia's 5000 series GPU's with my friends near my PC. This old GPU's are so jealous, man.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're GPU is clearly jealous, be careful of his toxic behavior 😂
Thank you for the updates!