Skip to content

Commit 5aca566

Browse files
committed
fix: sources jar publishes with all included dependencies
Fixes #191
1 parent e45f154 commit 5aca566

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
patreon: raoulvdberge
1+
patreon: raoulvdberge
2+
ko_fi: raoulvdberge

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22

3-
Copyright © 2023 - 2024 Refined Mods
3+
Copyright © 2023 - 2025 Refined Mods
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
66
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ See [refinedarchitect-template](https://github.com/refinedmods/refinedarchitect-
1616
- [Issues](https://github.com/refinedmods/refinedarchitect/issues)
1717
- [Refined Mods on GitHub](https://github.com/refinedmods)
1818
- [Discord](https://discordapp.com/invite/VYzsydb)
19-
- [Twitter](https://twitter.com/refinedmods)
2019

2120
## Building
2221

refinedarchitect-plugin/src/main/kotlin/refinedarchitect.gradle.kts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ configurations {
1818
isCanBeResolved = false
1919
isCanBeConsumed = true
2020
}
21+
create("commonJavaResolved") {
22+
isCanBeResolved = true
23+
isCanBeConsumed = false
24+
extendsFrom(configurations.getByName("commonJava"))
25+
}
2126
}
2227

2328
version = "0.0.0"
@@ -37,6 +42,11 @@ java {
3742
withSourcesJar()
3843
}
3944

45+
tasks.named<Jar>("sourcesJar") {
46+
from(sourceSets.main.get().allSource)
47+
from(configurations["commonJavaResolved"])
48+
}
49+
4050
dependencies {
4151
implementation("com.google.code.findbugs:jsr305:3.0.2")
4252
}

0 commit comments

Comments
 (0)