Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Walter Dziemianczyk committed Mar 14, 2024
1 parent 7faa9a4 commit 6c28429
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run: ./update-submodules

- name: Generate Stone
run: ./gradlew :core:generateStone versionWriterTask
run: ./gradlew :core:generateStone

- name: Ensure no changes in Generated Code
run: ./scripts/check-clean-git-status
Expand Down
6 changes: 3 additions & 3 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ tasks.register('versionWriterTask') {
}
it.inputs.property("versionName", versionName)

def generatedDir = project.layout.buildDirectory.dir("generated_stone_source/main/src")
def generatedDir = project.layout.buildDirectory.dir("generated/version")
it.outputs.dir(generatedDir)

it.doLast {
Expand Down Expand Up @@ -314,8 +314,8 @@ tasks.named("generateStone", StoneTask) {

])
outputDir.set(project.layout.buildDirectory.dir("generated_stone_source/main"))
sourceSets { main { java.srcDir(outputDir.file("src")) } }
}
sourceSets.main.java.srcDir(generateStone)

tasks.named("generateTestStone", StoneTask) {
String packageName = 'com.dropbox.core.stone'
Expand All @@ -334,8 +334,8 @@ tasks.named("generateTestStone", StoneTask) {
),
])
outputDir.set(project.layout.buildDirectory.dir("generated_stone_source/test"))
sourceSets { test { java.srcDir(outputDir.file("src")) } }
}
sourceSets.test.java.srcDir(generateTestStone)

mavenPublishing {
publishToMavenCentral(SonatypeHost.S01)
Expand Down

0 comments on commit 6c28429

Please sign in to comment.