-
Notifications
You must be signed in to change notification settings - Fork 17
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
Use version catalog in buildSrc code #1007
Conversation
@@ -1,7 +1,6 @@ | |||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |||
|
|||
plugins { | |||
`java-library` |
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.
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.
Was redundant!
dependencyResolutionManagement { | ||
versionCatalogs { create("libs") { from(files("../gradle/libs.versions.toml")) } } | ||
versionCatalogs { | ||
create("libs") { |
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.
so we were not using it b4 although the catalog was present, right?
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.
Yes, exactly, there were only hardcoded references to libs in buildSrc kotlin code
@@ -92,70 +106,71 @@ object BuildUtils { | |||
|
|||
project.dependencies { | |||
add("uiTestImplementation", testFixtures(project(":testCommon"))) | |||
add("uiTestImplementation", "org.virtuslab.ideprobe:junit-driver_2.13:0.36.1") | |||
add("uiTestImplementation", "org.virtuslab.ideprobe:robot-driver_2.13:0.36.1") | |||
add("uiTestImplementation", project.bundle("ideProbe")) |
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.
nice. finally it look like człowiek
import org.checkerframework.gradle.plugin.CheckerFrameworkExtension | ||
import org.checkerframework.gradle.plugin.CheckerFrameworkPlugin | ||
import org.gradle.api.Project | ||
import org.gradle.api.plugins.JavaPluginConvention | ||
import org.gradle.api.tasks.SourceSet | ||
import org.gradle.kotlin.dsl.* | ||
|
||
// TODO (#1004): Remove hardcoded dependencies and deprecated code | ||
// TODO (#1004): Remove deprecated code |
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.
one check box resolved 😌
a455eba
to
80534c5
Compare
No description provided.