Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
942 commits
Select commit Hold shift + click to select a range
eee16e0
Don't inject TargetJvmVersion attribute when automatic JVM targeting …
Goooler Aug 19, 2025
42acdb8
Remove cache-read-only for lint workflow
Goooler Aug 19, 2025
5765f8a
Group Develocity updates
Goooler Aug 19, 2025
a7f66fb
Update Develocity to v4.1.1 (#1670)
renovate[bot] Aug 19, 2025
c9e6b2f
Group jdk release version (#1673)
Goooler Aug 20, 2025
9b4d158
Allow opting out of shadowRuntimeElements variant (#1662)
Goooler Aug 20, 2025
ea1b1d3
Add logging when addShadowVariantIntoJavaComponent is disabled (#1676)
Goooler Aug 20, 2025
10c4cb7
Allow opting out of TARGET_JVM_VERSION_ATTRIBUTE (#1674)
Goooler Aug 20, 2025
400c601
Allow opting out of Multi-Release attribute (#1675)
Goooler Aug 21, 2025
9082fd4
Tweak logging and related tests (#1678)
Goooler Aug 21, 2025
6c61018
Update actions/setup-java action to v5 (#1679)
renovate[bot] Aug 21, 2025
2a4f162
Replace debug level with info in logging
Goooler Aug 21, 2025
2a49d61
Improve doc test dir naming (#1681)
Goooler Aug 21, 2025
3b9ad4f
Remove outdated ConfigureShadowRelocation wording in docs (#1688)
Goooler Aug 22, 2025
c4c6e5d
Merge Gradle plugin publishing docs into main publishing page (#1689)
Goooler Aug 22, 2025
e82bd7d
Update actions/upload-pages-artifact action to v4 (#1690)
renovate[bot] Aug 22, 2025
8555529
Rearrange the publishing doc sections (#1691)
Goooler Aug 23, 2025
3634e6d
Tweak docs about using ResourceTransformers (#1693)
Goooler Aug 25, 2025
74651fb
Do not write modified class files for no-op relocations (#1694)
msawyer-palantir Aug 28, 2025
619a512
Add guidelines for reviewing pull requests
Goooler Aug 28, 2025
53203e1
Document more about eachFile, filesMatching, and filesNotMatching (#1…
Goooler Aug 28, 2025
e4567fa
Prefer using when in visitFile (#1697)
Goooler Aug 28, 2025
8724451
Simplify SimpleRelocator.hashCode (#1698)
Goooler Aug 29, 2025
e840973
Apply kotlin-reflect explicitly (#1699)
Goooler Aug 29, 2025
6e3497d
Prepare version 9.1.0
Goooler Aug 29, 2025
ba18d53
Prepare next development version
Goooler Aug 29, 2025
5ca361f
Update plugin android-lint to v8.12.2 (#1702)
renovate[bot] Aug 30, 2025
e687c74
Clarify the minimization behavior for projects (#1703)
Goooler Aug 31, 2025
d634779
Merge Gradle Module descriptors into the modern META-INF path (#1706)
Goooler Sep 1, 2025
a5f6128
Comments for afterEvaluate usages (#1707)
Goooler Sep 2, 2025
8260739
Prefer kotlin over kt
Goooler Sep 2, 2025
575fece
Add more snippets for the version 9.1.0 (#1708)
Goooler Sep 2, 2025
05a47b5
Add extensions for Iterable<Relocator> (#1710)
Goooler Sep 2, 2025
e8df109
Remove the suppression for JavaMapForEach
Goooler Sep 2, 2025
2ac0f1d
Support relocating Groovy extensions in Module descriptors (#1705)
Goooler Sep 2, 2025
cc622ac
Update dependency gradle to v9.1.0-rc-2 (#1711)
renovate[bot] Sep 2, 2025
33ebf04
Update plugin android-lint to v8.13.0 (#1712)
renovate[bot] Sep 3, 2025
d1d028b
Update pluginPublish to v2 (major) (#1713)
renovate[bot] Sep 3, 2025
18d71d3
Revert "Add guidelines for reviewing pull requests"
Goooler Sep 4, 2025
0fc59cc
Support relocating list of types in RelocatorRemapper (#1714)
Goooler Sep 4, 2025
efa1627
Prefer sh over shell
Goooler Sep 6, 2025
99da366
Note the breaking change caused by afterEvaluate usages (#1719)
Goooler Sep 7, 2025
8b6090e
Fix excluding dependencies whose versions contain + (#1597)
Goooler Sep 8, 2025
187cf15
Move injecting Class-Path manifest attr logic from doFirst into copy …
Goooler Sep 8, 2025
2afeece
Update dependency gradle to v9.1.0-rc-3 (#1721)
renovate[bot] Sep 8, 2025
f7d8d1b
Deprecate InheritManifest (#1722)
Goooler Sep 8, 2025
fa1fe31
Prefer using from over inheritFrom (#1723)
Goooler Sep 8, 2025
710db9e
Remove unused FileResolver import
Goooler Sep 8, 2025
8ff959e
Use default JavaExec error message when main class is not set (#1725)
Goooler Sep 8, 2025
75f6736
Move injecting Main-Class manifest attr logic from doFirst into copy …
Goooler Sep 9, 2025
975e8a8
Rename test lifecycle functions (#1727)
Goooler Sep 10, 2025
b873c70
Update kotlin monorepo to v2.2.20 (#1728)
renovate[bot] Sep 10, 2025
5497d13
Update RelocatorRemapper class pattern to cover more Java method desc…
Goooler Sep 11, 2025
60e3193
Test single method argument in relocateSignaturePatterns (#1734)
Goooler Sep 12, 2025
dbc72f8
Tidy up RelocatorRemapperTest (#1735)
Goooler Sep 12, 2025
7acc20e
Update dependency org.xmlunit:xmlunit-legacy to v2.10.4 (#1736)
renovate[bot] Sep 14, 2025
c2cd2ce
Drop start script templates and clean up ShadowApplicationPlugin (#1738)
Goooler Sep 14, 2025
53bd00b
Suppress usages of conventionMapping (#1739)
Goooler Sep 14, 2025
cb6ed4c
Honor executableDir and applicationName in application extension (#1740)
Goooler Sep 15, 2025
9607b5a
Rename dist and spec
Goooler Sep 15, 2025
fd1e6f4
Tweak walking entries (#1741)
Goooler Sep 15, 2025
3786ff2
Sync jvmTarget from jdkRelease (#1742)
Goooler Sep 15, 2025
d15578e
Bump min Java requirement to 17 (#1744)
Goooler Sep 15, 2025
3d03c43
Junit 6.0.0-RC3 (#1743)
Goooler Sep 15, 2025
d5477ba
Require most optional properties non-null (#1745)
Goooler Sep 15, 2025
df48375
Tidy up unit tests (#1746)
Goooler Sep 15, 2025
6e758df
Share test kits in a new source set (#1747)
Goooler Sep 15, 2025
f21f30f
Update Gradle to v9.1.0-rc-4 (#1749)
renovate[bot] Sep 16, 2025
cedff7a
Remove downloadStartScripts task (#1753)
Goooler Sep 16, 2025
1e2c4a8
Dokka 2.1.0-Beta (#1754)
Goooler Sep 16, 2025
3c3598c
Update Develocity to v4.2 (#1755)
renovate[bot] Sep 16, 2025
07cd464
Override toString for SimpleRelocator (#1757)
Goooler Sep 17, 2025
ab081f0
Disable lint for NewerVersionAvailable (#1759)
Goooler Sep 17, 2025
1b6d701
Create copilot-instructions.md with project details (#1761)
Goooler Sep 18, 2025
13d460a
Document not relocating Kotlin stdlib and reflect (#1760)
Goooler Sep 18, 2025
4078b71
Update Gradle to v9.1.0 (#1762)
renovate[bot] Sep 18, 2025
de1fc28
Remove release notes for 9.0 beta versions (#1763)
Goooler Sep 19, 2025
7705e8a
Remove release notes for 9.0 rc versions (#1764)
Goooler Sep 19, 2025
ff5d9e2
Link format
Goooler Sep 19, 2025
411c4ac
Tweak the migration example in 9.0.0 notes (#1765)
Goooler Sep 19, 2025
9e943d0
Create FUNDING.yml
Goooler Sep 19, 2025
ecb1f48
Make assemble depend on shadowJar even if it is added later (#1766)
Jonathing Sep 20, 2025
d6515d6
Test deferred assemble task dependencies (#1768)
Goooler Sep 20, 2025
bf7cd13
Tweak style
Goooler Sep 20, 2025
38d0a3d
TODO usages of conventionMapping (#1770)
Goooler Sep 20, 2025
3efc029
Group property value tests into a new class (#1772)
Goooler Sep 21, 2025
90cfaa6
Add task accessors and check more task properties (#1771)
Goooler Sep 21, 2025
036feec
Support relocating Kotlin module files (#1539)
Goooler Sep 21, 2025
df9f164
Ignore local.properties
Goooler Sep 21, 2025
42ac08a
Remove outdated TODO for Gradle issue 22779
Goooler Sep 21, 2025
fbd4aac
Delete .github/ISSUE_TEMPLATE.md
Goooler Sep 22, 2025
98262fe
Update dependency org.apache.logging.log4j:log4j-core to v2.25.2 (#1775)
renovate[bot] Sep 22, 2025
35c5fdb
Revert "Create copilot-instructions.md with project details (#1761)"
Goooler Sep 23, 2025
2c0e8e6
Document embedding non-JAR dependencies (#1777)
Goooler Sep 23, 2025
b613233
Allow overriding BUNDLING_ATTRIBUTE in GMM (#1773)
Jonathing Sep 24, 2025
637dd00
Prepare version 9.2.0
Goooler Sep 24, 2025
3ee7f82
Merge tag '9.2.0'
Goooler Sep 24, 2025
698ff03
Prepare next development version
Goooler Sep 24, 2025
75e4e0f
Prepare version 9.2.1
Goooler Sep 24, 2025
8f3a5e7
Prepare next development version
Goooler Sep 24, 2025
3474bea
Update plugin spotless to v8 (#1778)
renovate[bot] Sep 25, 2025
bd7f137
Inline suppressions for InternalGradleApiUsage (#1780)
Goooler Sep 25, 2025
21f2613
Document more about deprecated inheritFrom (#1783)
Goooler Sep 25, 2025
f36fadf
Tweak manifest attribute tests (#1786)
Goooler Sep 26, 2025
722b9b8
Fix the regression of registering ShadowJar tasks without ShadowPlugi…
Goooler Sep 26, 2025
a9bf7b5
Fix the link for 9.2.1
Goooler Sep 26, 2025
1245cda
Prepare version 9.2.2
Goooler Sep 26, 2025
a48c053
Prepare next development version
Goooler Sep 26, 2025
dba664f
Fix the fixed section
Goooler Sep 26, 2025
717bf39
Simplify getDefaultProjectBuildScript (#1788)
Goooler Sep 27, 2025
c0e25bc
Disable check-links job for forks
Goooler Sep 28, 2025
8f94d8e
Tidy up jvmArgs for functionalTest (#1789)
Goooler Sep 29, 2025
b0ab8de
Compile only on kotlin-gradle-plugin (#1790)
Goooler Sep 29, 2025
caede73
Update dependency org.junit:junit-bom to v6.0.0 (#1791)
renovate[bot] Sep 30, 2025
88d88d2
Update gradle/actions action to v5 (#1792)
renovate[bot] Oct 2, 2025
4ff97b3
Update Develocity to v4.2.1 (#1796)
renovate[bot] Oct 2, 2025
2d8e9f5
Document disabling jar task when publishing the shadowed jar (#1795)
Goooler Oct 3, 2025
cf3c59c
Change the group of startShadowScripts from application to other (#1797)
Goooler Oct 3, 2025
0e1008f
Gradle 9.2.0 RC1 (#1798)
Goooler Oct 6, 2025
1660eea
TODO apiVersion
Goooler Oct 7, 2025
c8b3636
Fix test util packages (#1802)
Goooler Oct 7, 2025
b68b8ef
Remove extra nesting (#1803)
Goooler Oct 8, 2025
fdd1988
Set min Gradle requirement via GradlePluginApiVersion attribute (#1804)
Goooler Oct 8, 2025
fc6ddff
Update ASM and jdependency to support Java 26 (#1799)
renovate[bot] Oct 9, 2025
3167eef
Remove redundant log4j dependency for functionalTest (#1806)
Goooler Oct 9, 2025
88d03ea
Share gradleRunner (#1805)
Goooler Oct 9, 2025
624a4ce
Rename run to runWithSuccess (#1807)
Goooler Oct 9, 2025
388d35d
Update compatibility matrix
Goooler Oct 9, 2025
3e44233
Bump min Gradle requirement to 9.0.0 (#1801)
Goooler Oct 9, 2025
437ab45
Remove commonArguments
Goooler Oct 10, 2025
f4e9a92
Update Develocity to v4.2.2 (#1815)
renovate[bot] Oct 14, 2025
ff07485
Update plugin jetbrains-dokka to v2.1.0 (#1817)
renovate[bot] Oct 15, 2025
4d6d87f
Update Gradle to v9.2.0-rc-2 (#1818)
renovate[bot] Oct 17, 2025
7dec251
Always test on the latest Java (#1819)
Goooler Oct 22, 2025
fe96f83
Revert "Add explicit lint workflow" (#1820)
Goooler Oct 22, 2025
4fe08ba
Kotlin 2.3.0-Beta1 (#1808)
Goooler Oct 23, 2025
dca441f
Tidy up the usage of GradlePluginApiVersion (#1822)
Goooler Oct 24, 2025
04c0018
Update dependency org.xmlunit:xmlunit-legacy to v2.11.0 (#1825)
renovate[bot] Oct 24, 2025
e1b7fb9
Update Gradle to v9.2.0-rc-3 (#1824)
renovate[bot] Oct 24, 2025
e72c6f3
Migrate renovate config (#1827)
renovate[bot] Oct 28, 2025
a3121a0
Update kotlin monorepo to v2.3.0-Beta2 (#1826)
renovate[bot] Oct 28, 2025
f1f1948
Update dependency java to v25 (#1821)
renovate[bot] Oct 28, 2025
4ec6423
Add comments back
Goooler Oct 28, 2025
c24ae19
Update Gradle to v9.2.0 (#1828)
renovate[bot] Oct 30, 2025
f5fbd4c
Update compatibility sheet
Goooler Oct 30, 2025
6a498a8
Update docs and tests for groovy and scala plugins (#1831)
Goooler Oct 30, 2025
ca5edaf
Update dependency org.junit:junit-bom to v6.0.1 (#1832)
renovate[bot] Oct 31, 2025
5f6a894
Set ignored archiveClassifier for standard Jar (#1833)
Goooler Nov 1, 2025
8a9802c
New termsOfUseUrl (#1834)
Goooler Nov 2, 2025
2355ea0
Update dependency commons-io:commons-io to v2.21.0 (#1837)
renovate[bot] Nov 8, 2025
9867998
Disable more rules for Lint
Goooler Nov 9, 2025
406eedf
Update plugin android-lint to v8.13.1 (#1838)
renovate[bot] Nov 10, 2025
15e8f0f
Simplify min Kotlin version check (#1839)
Goooler Nov 11, 2025
07cbe3d
Update plugin mavenPublish to v0.35.0 (#1840)
renovate[bot] Nov 11, 2025
cba083d
Prefer KotlinToolingVersion than KotlinVersion (#1841)
Goooler Nov 12, 2025
5324945
Update dependency com.pinterest.ktlint:ktlint-cli to v1.8.0 (#1846)
renovate[bot] Nov 15, 2025
8460468
Remove TODO about Gradle issue 22879
Goooler Nov 15, 2025
7027e20
Prefer providers.gradleProperty over project.findProperty (#1836)
Goooler Nov 15, 2025
a4639c7
Temporarily disable linkspector action
Goooler Nov 15, 2025
3ce3b73
Add PatternFilterableResourceTransformer and expose patternSet (#1849)
Goooler Nov 16, 2025
6a1ca8b
Run action-linkspector on ubuntu-latest
Goooler Nov 17, 2025
29a06a5
Support patternSet for license and notice transformers (#1850)
Goooler Nov 17, 2025
a304484
Support overriding output path of `ApacheNoticeResourceTransformer` (…
Goooler Nov 17, 2025
ff3524c
Directly call setIncludes (#1852)
Goooler Nov 17, 2025
5a785c2
Cache patternSet.asSpec by lazy (#1854)
snazy Nov 17, 2025
6b5f04b
Add pattern-filterable to PreserveFirstFoundResourceTransformer (#1855)
snazy Nov 17, 2025
b248951
Update Gradle to v9.2.1 (#1862)
renovate[bot] Nov 17, 2025
b332ac6
Add unsafeLazy (#1863)
Goooler Nov 18, 2025
aa386eb
Add new merge strategy Fail to PropertiesFileTransformer (#1856)
snazy Nov 18, 2025
1424290
Add invariantEolString for String (#1864)
Goooler Nov 18, 2025
90eb380
Add FindResourceInClasspath task to find resources in dependencies (#…
snazy Nov 18, 2025
d359a99
Update kotlin monorepo to v2.3.0-RC (#1865)
renovate[bot] Nov 18, 2025
57096c8
Update plugin spotless to v8.1.0 (#1867)
renovate[bot] Nov 19, 2025
90b0b3e
Make the output of PropertiesFileTransformer reproducible (#1861)
snazy Nov 19, 2025
edcba4e
Test merged properties without comments (#1868)
Goooler Nov 19, 2025
3baee9a
Rename CleanProperties to ReproducibleProperties (#1869)
Goooler Nov 19, 2025
ffca329
Add MergeLicenseResourceTransformer to merge licenses (#1858)
snazy Nov 19, 2025
778c39a
Tweak unit test kits (#1870)
Goooler Nov 20, 2025
a78b132
Update actions/checkout action to v6 (#1872)
renovate[bot] Nov 21, 2025
ff0a30b
Reduce nesting for using transformer assertions (#1873)
Goooler Nov 21, 2025
7c3dcee
Deprecate ShadowCopyAction (#1876)
Goooler Nov 25, 2025
2aec97d
Support disabling Kotlin module metadata remapping (#1875)
Goooler Nov 26, 2025
6e20142
Update the comment for associateWith
Goooler Nov 29, 2025
0e1538b
Read optional properties from ExtraPropertiesExtension (#1877)
Goooler Nov 29, 2025
1994b96
Use checkNotNull
Goooler Nov 30, 2025
30f314c
Update ffurrer2/extract-release-notes action to v3 (#1878)
renovate[bot] Nov 30, 2025
b3fbe09
Add edit buttons to doc pages (#1880)
Goooler Dec 1, 2025
b6f1f59
Update kotlin monorepo to v2.3.0-RC2 (#1881)
renovate[bot] Dec 2, 2025
99e3991
Add DeduplicatingResourceTransformer to deduplicate on path and conte…
snazy Dec 5, 2025
47a1e7b
Enhance docs about reproducible builds (#1882)
snazy Dec 5, 2025
d2227b2
Remove reproducible-builds link
Goooler Dec 5, 2025
ba40578
Fix changelog links
Goooler Dec 5, 2025
bfc351e
Prepare version 9.3.0
Goooler Dec 5, 2025
2399ab3
Prepare next development version
Goooler Dec 5, 2025
e689fc0
Update kotlin monorepo to v2.3.0-RC3 (#1883)
renovate[bot] Dec 9, 2025
4ad3004
Revert "Remove reproducible-builds link"
Goooler Dec 10, 2025
942a547
Reformat ShadowJar
Goooler Dec 10, 2025
35f92f3
Update Develocity to v4.3 (#1886)
renovate[bot] Dec 11, 2025
f36ff70
Update plugin android-lint to v8.13.2 (#1887)
renovate[bot] Dec 11, 2025
88c7f4c
Add Kdoc for applying resource transformers (#1885)
Goooler Dec 13, 2025
03b1efa
Tidy up doc pages a bit (#1888)
Goooler Dec 15, 2025
ca01ea8
Update dependency org.ow2.asm:asm-commons to v9.9.1 (#1889)
renovate[bot] Dec 16, 2025
25915d1
Update kotlin monorepo to v2.3.0 (#1890)
renovate[bot] Dec 16, 2025
872c7e2
Update dependency org.apache.logging.log4j:log4j-core to v2.25.3 (#1891)
renovate[bot] Dec 17, 2025
3f98c8f
Update dependency org.apache.maven:maven-model to v3.9.12 (#1892)
renovate[bot] Dec 17, 2025
d2cc4ad
Rename modelBuilder to model
Goooler Dec 17, 2025
087af8d
Submit dependency graph on publish-snapshot job
Goooler Dec 21, 2025
2620e88
Fix overrideOutputPathOfNoticeFile (#1896)
Goooler Jan 6, 2026
9fec3d6
Migrate to ktfmt (#1871)
Goooler Jan 6, 2026
42fb7fe
Update dependency com.facebook:ktfmt to v0.61 (#1897)
renovate[bot] Jan 6, 2026
2bddd96
Use ASM from jdependency embedded (#1898)
Goooler Jan 6, 2026
312d8f9
Prepare version 9.3.1
Goooler Jan 6, 2026
666655b
Prepare next development version
Goooler Jan 6, 2026
01822fc
Update dependency org.junit:junit-bom to v6.0.2 (#1899)
renovate[bot] Jan 7, 2026
122a84c
Kotlin 2.3.20-Beta1 (#1901)
Goooler Jan 8, 2026
f80269d
Update plugin android-lint to v9 (#1903)
renovate[bot] Jan 15, 2026
1f56914
Update Develocity to v4.3.1 (#1904)
renovate[bot] Jan 15, 2026
a56c61e
Update Gradle to v9.3.0 (#1905)
renovate[bot] Jan 16, 2026
c9d4630
Update plugin mavenPublish to v0.36.0 (#1906)
renovate[bot] Jan 18, 2026
492fc93
Don't validate Maven Central deployments (#1907)
Goooler Jan 19, 2026
26dfd35
Update plugin spotless to v8.2.0 (#1909)
renovate[bot] Jan 23, 2026
0a06f8a
Try ubuntu-slim (#1910)
Goooler Jan 23, 2026
f0bff48
Update dependency org.codehaus.plexus:plexus-xml to v4.1.1 (#1911)
renovate[bot] Jan 26, 2026
770d529
Update plugin spotless to v8.2.1 (#1912)
renovate[bot] Jan 28, 2026
4a8cdda
Update Develocity to v4.3.2 (#1913)
renovate[bot] Jan 29, 2026
48aa25f
Update kotlin monorepo to v2.3.20-Beta2 (#1915)
renovate[bot] Jan 29, 2026
bb57f4a
Update Gradle to v9.3.1 (#1916)
renovate[bot] Jan 29, 2026
f4ee3b2
Update dependency commons-codec:commons-codec to v1.21.0 (#1917)
renovate[bot] Jan 29, 2026
b6bf8d7
Eliminate findByName for ShadowKmpPlugin (#1920)
Goooler Feb 13, 2026
46aa424
Add CONTRIBUTING.md with development workflow (#1921)
Copilot Feb 13, 2026
cd29dcd
Update plugin android-lint to v9.0.1 (#1922)
renovate[bot] Feb 13, 2026
24ba8ca
Update dependency org.junit:junit-bom to v6.0.3 (#1923)
renovate[bot] Feb 16, 2026
bb11389
Gradle 9.4.0-rc-1 (#1919)
Goooler Feb 19, 2026
a07c8a4
Update kotlin monorepo to v2.3.20-RC (#1925)
renovate[bot] Feb 19, 2026
24cc83a
Update dependency org.vafer:jdependency to v2.15 (#1926)
renovate[bot] Feb 24, 2026
6dd58e2
Sync changelog for main from 8.3.10 release (#1928)
Copilot Feb 26, 2026
a009513
Update README to reflect changes in module descriptors
Goooler Feb 26, 2026
634f246
Log warnings for duplicates in the final JAR (#1931)
Copilot Feb 27, 2026
db1a2d8
Fix relocation patterns not included in task fingerprint (#1933)
Copilot Feb 27, 2026
0b52ba8
Update Gradle to v9.4.0-rc-2 (#1934)
renovate[bot] Feb 27, 2026
6272e52
Mention updating the unreleased changelog section (#1935)
Copilot Feb 27, 2026
929f027
Prepare version 9.3.2
Goooler Feb 27, 2026
2fa3894
Prepare next development version
Goooler Feb 27, 2026
f8d019b
Change Maven Central deployment validation to NONE
Goooler Feb 27, 2026
20adfb3
Update unreleased version link in CHANGELOG
Goooler Mar 1, 2026
29cbc56
Fix interaction with Gradle artifact transforms (#1345)
Goooler Mar 1, 2026
8da1578
Allow opting out of adding shadowJar into assemble lifecycle (#1939)
Copilot Mar 1, 2026
09f5081
Support Isolated Projects (#1139)
Goooler Mar 1, 2026
6a52076
Change git push command for releasing (#1945)
Goooler Mar 2, 2026
21fc71e
Initial plan
Copilot Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.{groovy,java}]
indent_size = 4

[*.{kt,kts}]
ij_kotlin_imports_layout = *
ij_kotlin_allow_trailing_comma = true
ij_kotlin_allow_trailing_comma_on_call_site = true
ij_kotlin_continuation_indent_size = 2
ij_kotlin_line_break_after_multiline_when_entry = false
ij_kotlin_name_count_to_use_star_import = 999
ij_kotlin_name_count_to_use_star_import_for_members = 999
ij_kotlin_name_count_to_use_star_import = 2147483647
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
ij_kotlin_packages_to_use_import_on_demand = unset
ktlint_code_style = intellij_idea
ktlint_standard_function-expression-body = disabled

[*.md]
trim_trailing_whitespace = false
5 changes: 3 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
* text=auto eol=lf

gradlew binary
gradlew.bat binary
*.bat text eol=crlf
*.jar binary
*.svg binary
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: Goooler
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---

- [ ] [CHANGELOG](https://github.com/GradleUp/shadow/blob/main/src/docs/changes/README.md)'s "Unreleased" section has been updated, if applicable.
- [ ] [CHANGELOG](https://github.com/GradleUp/shadow/blob/main/docs/changes/README.md)'s "Unreleased" section has been updated, if applicable.
40 changes: 36 additions & 4 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,6 +1,38 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
]
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:recommended',
],
labels: [
'dependencies',
],
packageRules: [
{
groupName: 'Develocity',
matchPackageNames: [
'com.gradle:develocity-gradle-plugin',
'com.gradle.develocity:com.gradle.develocity.gradle.plugin',
],
},
],
ignorePresets: [
// Ensure we get the latest version and are not pinned to old versions.
'workarounds:javaLTSVersions',
],
customManagers: [
// Update .java-version file with the latest JDK version.
{
customType: 'regex',
managerFilePatterns: [
'/\\.java-version$/',
],
matchStrings: [
'(?<currentValue>.*)\\n',
],
datasourceTemplate: 'java-version',
depNameTemplate: 'java',
// Only write the major version.
extractVersionTemplate: '^(?<version>\\d+)',
},
],
}
1 change: 1 addition & 0 deletions .github/workflows/.java-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
25
63 changes: 63 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: Build

on:
push:
branches:
- main
pull_request:
workflow_dispatch:

jobs:
build:
name: OS=${{ matrix.os }}, Gradle=${{ matrix.gradle }}
strategy:
matrix:
os: [ ubuntu-24.04-arm, windows-latest ]
# Test on the minimum Gradle version and the latest.
gradle: [ 9.0.0, current ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version-file: .github/workflows/.java-version
- uses: gradle/actions/setup-gradle@v5
- run: ./gradlew build "-PtestGradleVersion=${{ matrix.gradle }}" --stacktrace

# Status check that is required in branch protection rules.
build-status:
needs:
- build
runs-on: ubuntu-slim
if: always()
steps:
- name: Check
run: |
results=$(tr -d '\n' <<< '${{ toJSON(needs.*.result) }}')
if ! grep -q -v -E '(failure|cancelled)' <<< "$results"; then
echo "One or more required jobs failed"
exit 1
fi
echo "All required jobs completed successfully."

publish-snapshot:
needs: build-status
runs-on: ubuntu-24.04-arm
if: github.event.repository.fork == false && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version-file: .github/workflows/.java-version
- uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
dependency-graph: 'generate-submit-and-upload'
- run: ./gradlew publishToMavenCentral
env:
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_PORTAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_KEY_PASSWORD }}
44 changes: 0 additions & 44 deletions .github/workflows/ci.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Deploy

on:
workflow_call:
workflow_dispatch:

jobs:
deploy:
runs-on: ubuntu-24.04-arm
if: github.event.repository.fork == false
environment:
name: github-pages
permissions:
id-token: write
pages: write
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
- name: Prepare API documentation
run: ./gradlew dokkaGenerate
- name: Build Site
run: |
# Don't cache it to track updates.
pip install mkdocs-material
mkdocs build
- uses: actions/upload-pages-artifact@v4
with:
path: site
- uses: actions/deploy-pages@v4
41 changes: 41 additions & 0 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Links

on:
push:
branches:
- main
paths:
- docs/**
- README.md
- RELEASING.md
- .github/workflows/links.yml
pull_request:
paths:
- docs/**
- README.md
- RELEASING.md
- .github/workflows/links.yml
workflow_dispatch:

jobs:
check-links:
runs-on: ubuntu-latest # TODO: https://github.com/UmbrellaDocs/linkspector/issues/149
if: github.event.repository.fork == false
steps:
- uses: actions/checkout@v6
- uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
# This is required for action-linkspector to work with API links.
- run: ./gradlew dokkaGenerate
- name: Mkdocs build validation
run: |
# Don't cache it to track updates.
pip install mkdocs-material
mkdocs build --strict
- uses: umbrelladocs/action-linkspector@v1
with:
reporter: github-pr-check
fail_on_error: true
filter_mode: nofilter
fail_level: any
38 changes: 17 additions & 21 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,43 +7,39 @@ on:

jobs:
release:
runs-on: ubuntu-latest
if: github.repository == 'GradleUp/shadow'
runs-on: ubuntu-24.04-arm
if: github.event.repository.fork == false
environment:
name: maven-central
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
- uses: actions/checkout@v6
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: 21
- uses: gradle/actions/setup-gradle@v4
java-version-file: .github/workflows/.java-version
- uses: gradle/actions/setup-gradle@v5
with:
cache-read-only: true
- uses: actions/setup-node@v4
with:
# Due to some limitations of https://github.com/node-gradle/gradle-node-plugin.
node-version: '16'
# Disable CC due to https://github.com/gradle/gradle/issues/22779
- run: ./gradlew release --no-configuration-cache
- run: ./gradlew publishToMavenCentral publishPlugins
env:
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_KEY }}
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_SECRET }}
# We must declare repository_owner as the user, workaround for https://github.com/ajoberstar/gradle-git-publish/issues/109.
GRGIT_USER: ${{ github.repository_owner }}
# https://ajoberstar.org/grgit/main/grgit-authentication.html#_environment_variables
GRGIT_PASS: ${{ secrets.GITHUB_TOKEN }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.OSSRH_USER }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.OSSRH_PASSWORD }}
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.CENTRAL_PORTAL_USERNAME }}
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.CENTRAL_PORTAL_PASSWORD }}
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.GPG_KEY }}
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.GPG_KEY_PASSWORD }}
- name: Extract release notes
# TODO: replace this after https://github.com/ffurrer2/extract-release-notes/pull/355 is merged.
uses: Goooler/extract-release-notes@6e686e7a607d03716b7cff561371a82065b22c33
uses: ffurrer2/extract-release-notes@v3
with:
changelog_file: src/docs/changes/README.md
changelog_file: docs/changes/README.md
release_notes_file: RELEASE_NOTES.md
- name: Create release
run: gh release create ${{ github.ref_name }} --notes-file RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

deploy:
needs: release
uses: ./.github/workflows/deploy.yml
36 changes: 21 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,19 +1,25 @@
*.un~
.fleet
.gradle
.kotlin
build

### Android Studio ###
local.properties

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr
*.iws
.idea
build
.gradle
*.orig
out
.gradletasknamecache
.gradle-test-kit
classes/
node_modules/
yarn-error.log
src/docs/.vuepress/dist/

### VS Code ###
.vscode
bin

### Mac OS ###
.DS_Store
jd-gui.cfg
bin/
.vscode/

### MkDocs ###
docs/api
site
1 change: 1 addition & 0 deletions .idea/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Agent Guidelines

To understand how to contribute code, format commits, and run tests for this repository,
please refer to the [CONTRIBUTING.md](./CONTRIBUTING.md) file.

**Instructions for AI Agents:**
1. Read `CONTRIBUTING.md` before suggesting any code changes.
2. Adhere to the coding standards and PR templates defined therein.
3. Follow the environment setup steps to verify your proposed fixes.
Loading
Loading