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
split the single gradle project to subprojects #1348
Conversation
f482957
to
24f01d8
Compare
@@ -1,3 +1,7 @@ | |||
org.gradle.parallel=true | |||
org.gradle.configureondemand=true | |||
org.gradle.jvmargs=-Xmx256m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 | |||
|
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're added org.gradle.caching=true
can you please also add org.gradle.vfs.watch=true
configuration?
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.
done
task libsTest(type: Sync) { | ||
from configurations.testRuntimeClasspath - configurations.compileClasspath | ||
into "$buildDir/lib-test" | ||
subprojects { |
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.
Maybe we can use or just think about it - composite builds
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, I will try composite builds.
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.
Leave some comments, check them please.
Congratulations 🎉. DeepCode analyzed your code in 0.74 seconds and we found no issues. Enjoy a moment of no bugs ☀️. 👉 View analysis in DeepCode’s Dashboard | Configure the bot |
ba87c76
to
0ee45ca
Compare
abdb3ef
to
e0574d9
Compare
+ extract `junit4` subproject + extract `testng` subproject + extract `grid` subproject
e0574d9
to
c40edbe
Compare
c40edbe
to
1aa3bf0
Compare
for some reason, File.exists() != File.getAbsoluteFile().exists() ...
557864c
to
d01d765
Compare
junit4
subprojecttestng
subprojectgrid
subprojectProposed changes
extract JUnit4-related code to
modules/junit4
and TestNG-related code tomodules/testng
.The goal is to avoid mixing junit.jar and testng.jar in common classpath. For example, AssertJ
assumeThat
works incorrectly if encounters both jars in classpath.