-
Notifications
You must be signed in to change notification settings - Fork 449
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
Mark StoneTask as cacheable and resolve some dbapp integration issues #515
Conversation
alias(dropboxJavaSdkLibs.plugins.maven.publish.plugin) | ||
alias(dropboxJavaSdkLibs.plugins.gradle.version.plugin) | ||
alias(dropboxJavaSdkLibs.plugins.dependency.guard) |
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.
dbapp already has these on classpath so alias fails because each include a version and plugin block cannot handle this.
String versionName | ||
if (project.hasProperty("VERSION_NAME")) { | ||
versionName = "${project.property("VERSION_NAME")}" | ||
} else { | ||
versionName = project.version | ||
} |
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.
This project will use VERSION_NAME
during publish, dbapp has no visibility on gradle.properties
as it has its own. We use project.version
as a fallback and set it within dbapp.
import org.gradle.process.ExecOperations | ||
import java.io.File | ||
import java.io.FileOutputStream | ||
import javax.inject.Inject | ||
|
||
@CacheableTask |
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.
With help of @devPalacio - marks this Task as cacheable which should increase build speeds
No description provided.