@@ -22,7 +22,7 @@ data class RepoMetadata(
2222 /* * The name of the main branch. For example: `"master"` */
2323 val mainBranch : String = Defaults .MAIN_BRANCH ,
2424 /* * The release tag prefix to use. For example: `"devenv-release/"` */
25- val releaseTagPrefix : String = Defaults .RELEASE_TAG_PREFIX ,
25+ val releaseTagPrefix : String = Defaults .RELEASE_TAG_PREFIX , // Spoofax 3
2626 /* * The default Maven group of the artifacts in the build. For example: `"org.metaborg.devenv"` */
2727 val mavenGroup : String = " org.metaborg" ,
2828
@@ -49,13 +49,6 @@ data class RepoMetadata(
4949 /* * A list of Gradle plugins published by the repo as part of Spoofax 3. */
5050 val spoofax3Plugins : List <GradlePlugin > = emptyList(),
5151
52- /* * A list of Maven libraries published by the repo. */
53- val libraries : List <MavenArtifact > = emptyList(),
54- /* * A list of Spoofax languages published by the repo. */
55- val languages : List <MavenArtifact > = emptyList(),
56- /* * A list of Gradle plugins published by the repo. */
57- val plugins : List <GradlePlugin > = emptyList(),
58-
5952 /* * An ordered list of developers that may be contacted about the repo. */
6053 val developers : List <Person > = emptyList(),
6154 /* * An ordered list of (main) contributors that also worked on the repo. */
@@ -100,7 +93,7 @@ data class Readme(
10093 /* * Whether to generate the file. */
10194 val generate : Boolean = true ,
10295 /* * Whether to update the file. */
103- val update : Boolean = true ,
96+ val update : Boolean = generate ,
10497 /* * Content to include in the main body of the readme; or `null`. */
10598 val body : Markdown ? = null ,
10699)
@@ -111,7 +104,7 @@ data class License(
111104 /* * Whether to generate the file. */
112105 val generate : Boolean = true ,
113106 /* * Whether to update the file. */
114- val update : Boolean = true ,
107+ val update : Boolean = generate ,
115108 /* * Whether to use a Markdown license file. */
116109 val markdown : Boolean = true ,
117110)
@@ -122,7 +115,7 @@ data class Contributing(
122115 /* * Whether to generate the file. */
123116 val generate : Boolean = true ,
124117 /* * Whether to update the file. */
125- val update : Boolean = true ,
118+ val update : Boolean = generate ,
126119)
127120
128121/* * Metadata for the CODE_OF_CONDUCT.md file. */
@@ -131,7 +124,7 @@ data class CodeOfConduct(
131124 /* * Whether to generate the file. */
132125 val generate : Boolean = true ,
133126 /* * Whether to update the file. */
134- val update : Boolean = true ,
127+ val update : Boolean = generate ,
135128)
136129
137130/* * Metadata for the CHANGELOG.md file. */
@@ -149,7 +142,7 @@ data class Gitignore(
149142 /* * Whether to generate the file. */
150143 val generate : Boolean = true ,
151144 /* * Whether to update the file. */
152- val update : Boolean = true ,
145+ val update : Boolean = generate ,
153146 /* * Extra entries to include at the bottom of the .gitignore file; or `null`. */
154147 val extra : String? = null ,
155148)
@@ -160,7 +153,7 @@ data class GradleWrapper(
160153 /* * Whether to generate the files. */
161154 val generate : Boolean = true ,
162155 /* * Whether to update the file. */
163- val update : Boolean = true ,
156+ val update : Boolean = generate ,
164157 /* * The version of the Gradle wrapper to generate. */
165158 val gradleVersion : String = " 7.6.4" ,
166159 /* * The kind of Gradle distribution type to use, either `"bin"` or `"all"`. */
@@ -192,7 +185,7 @@ data class GithubWorkflows(
192185 /* * Whether to generate the files. */
193186 val generate : Boolean = true ,
194187 /* * Whether to update the file. */
195- val update : Boolean = true ,
188+ val update : Boolean = generate ,
196189 /* * Whether to publish releases using GitHub CI (instead of Jenkins or something else). */
197190 val publishRelease : Boolean = false ,
198191 /* * Whether to publish snapshots using GitHub CI. */
@@ -213,7 +206,7 @@ data class GithubIssueTemplates(
213206 /* * Whether to generate the files. */
214207 val generate : Boolean = true ,
215208 /* * Whether to update the file. */
216- val update : Boolean = true ,
209+ val update : Boolean = generate ,
217210 /* * Whether to automatically assign developers to issues. */
218211 val assignDevelopers : Boolean = true ,
219212 /* * Whether to use the GitHub Discussions tab. */
0 commit comments