Skip to content
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

Remove overriding of distribution location in save-frontend #2831

Open
nulls opened this issue Oct 31, 2023 · 0 comments
Open

Remove overriding of distribution location in save-frontend #2831

nulls opened this issue Oct 31, 2023 · 0 comments
Assignees
Labels
infra Issues related to build or deploy infrastructure

Comments

@nulls
Copy link
Member

nulls commented Oct 31, 2023

Need to remove in save-frontend/build.gradle.kts:

         distribution(
                Action {
                    // TODO: need to remove this overriding
                    outputDirectory = layout.buildDirectory.dir(distributionsDirName)
                }
            )

And fix in save-frontend/build.gradle.kts:

val distributionJarTask by tasks.registering(Jar::class) {
    dependsOn(":save-frontend:browserDistribution")
    archiveClassifier.set("distribution")
    from("$buildDir/$distributionsDirName") {
        into("static")
        exclude("scss")
    }
    from("$projectDir/nginx.conf") {
        into("")
    }
}
@nulls nulls added the infra Issues related to build or deploy infrastructure label Oct 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Issues related to build or deploy infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants