Skip to content

Commit

Permalink
Revert using java-test-fixtures, as it breaks the publish task
Browse files Browse the repository at this point in the history
Fuck gradle
  • Loading branch information
Col-E committed Aug 20, 2023
1 parent d84b0ed commit c280789
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion translator-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import java.nio.file.Files

plugins {
id 'java-library'
id 'java-test-fixtures'
id 'maven-publish'
id "com.peterabeles.gversion" version "1.10"
}
Expand Down Expand Up @@ -56,6 +55,13 @@ sourceSets {
srcDirs 'src/generated/java', 'src/main/java'
}
}
test {
// We don't use 'java-test-fixtures' because it breaks the publish task.
// I swear to god this build system blows.
java {
srcDirs 'src/testFixtures/java', 'src/test/java'
}
}
}
private boolean isBuildConfigUpToDate() {
File buildConfigPath = project.file(gversion.srcDir +
Expand Down

0 comments on commit c280789

Please sign in to comment.