File tree Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Expand file tree Collapse file tree 3 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,19 @@ if (gitHubToken?.isNotBlank() ?: false) {
182
182
releaseAssets(* jarTasks.map { it.archiveFile }.toTypedArray())
183
183
}
184
184
185
- tasks.withType(GithubReleaseTask ::class ) {
186
- dependsOn(* jarTasks.toTypedArray())
187
- doFirst {
188
- configure<GithubReleaseExtension > {
189
- body(""" |
185
+ fun setUpChangelog () {
186
+ configure<GithubReleaseExtension > {
187
+ body(""" |
190
188
|## CHANGELOG
191
189
|${changelog().call()}
192
190
""" .trimMargin())
193
- }
191
+ }
192
+ }
193
+
194
+ tasks.withType(GithubReleaseTask ::class ) {
195
+ dependsOn(* jarTasks.toTypedArray())
196
+ doFirst {
197
+ setUpChangelog()
194
198
}
195
199
}
196
200
}
Original file line number Diff line number Diff line change @@ -18,4 +18,4 @@ bintrayUser=
18
18
bintrayKey =
19
19
20
20
# GitHub token
21
- gitHubToken =f16413ca0d0fb3fabe6b966e7c920f3c2133d4e4
21
+ gitHubToken =
Original file line number Diff line number Diff line change
1
+ val tusowFull = name
2
+
1
3
dependencies {
2
- rootProject.subprojects.map { it.name }.forEach {
3
- api(project(" :$it " ))
4
- }
4
+ rootProject.subprojects
5
+ .map { it.name }
6
+ .filter { it != tusowFull }
7
+ .forEach {
8
+ api(project(" :$it " ))
9
+ }
5
10
}
6
11
7
12
tasks.getByName<Jar >(" shadowJar" ) {
You can’t perform that action at this time.
0 commit comments