dcapwell commented on code in PR #29:
URL: https://github.com/apache/cassandra-accord/pull/29#discussion_r1096383819
##########
buildSrc/src/main/groovy/accord.java-conventions.gradle:
##########
@@ -45,3 +45,17 @@ dependencies {
testImplementation 'ch.qos.logback:logback-classic:1.2.3'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.7.0'
}
+
+task copyMainDependencies(type: Copy) {
+ from configurations.compileClasspath
+ into "${buildDir}/dependencies/main/libs"
+}
+task copyTestDependencies(type: Copy) {
+ from configurations.testCompileClasspath - configurations.compileClasspath
+ into "${buildDir}/dependencies/test/libs"
+}
+
+task copyDependencies {
+ dependsOn(copyMainDependencies)
+ dependsOn(copyTestDependencies)
+}
Review Comment:
this is for C* IDE support. IntelliJ only knows are dependencies from
directories, so to make sure accord works I need to dump dependencies
(main/test) and let IntelliJ know about them.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]