Skip to content

Commit 30344de

Browse files
committed
create release 0.12.2
1 parent cec95dd commit 30344de

49 files changed

Lines changed: 2432 additions & 20 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.md

Lines changed: 147 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 0.12.1-SNAPSHOT (unreleased)
1+
# 0.12.1
22

33
### 🗑 Deprecations
44

@@ -13,7 +13,8 @@
1313
### 💥 Breaking Changes
1414

1515
- The base `:moduleCheck` task will now automatically hook into the root project's `:check` task, if
16-
one exists. [@RBusarow](https://github.com/RBusarow) ([#611](https://github.com/rbusarow/ModuleCheck/pull/611))
16+
one
17+
exists. [@RBusarow](https://github.com/RBusarow) ([#611](https://github.com/rbusarow/ModuleCheck/pull/611))
1718

1819
### 🚀 Features
1920

@@ -22,12 +23,154 @@
2223
report
2324
output [@RBusarow](https://github.com/RBusarow) ([#566](https://github.com/rbusarow/ModuleCheck/pull/566))
2425

26+
### 🐛 Bug Fixes
27+
28+
- don't find `must-be-api` if the project is already an api dependency
29+
also [@RBusarow](https://github.com/RBusarow) ([#666](https://github.com/rbusarow/ModuleCheck/pull/666))
30+
- remove AGP and KGP from the plugin's runtime
31+
classpath ([079ab9d](https://github.com/RBusarow/ModuleCheck/commit/079ab9d709add63dbf44ecbd8a534bf279becd47))
32+
- fix matching to custom
33+
kaptMatchers [@RBusarow](https://github.com/RBusarow) ([#658](https://github.com/rbusarow/ModuleCheck/pull/658))
34+
- properly use settings to determine which kinds of depth output to
35+
create [@RBusarow](https://github.com/RBusarow) ([#647](https://github.com/rbusarow/ModuleCheck/pull/647))
36+
- fix relative paths for custom graph report
37+
directory [@RBusarow](https://github.com/RBusarow) ([#612](https://github.com/rbusarow/ModuleCheck/pull/612))
38+
- use type-safe accessor "path" when adding a dependency with type-safe
39+
syntax [@RBusarow](https://github.com/RBusarow) ([#608](https://github.com/rbusarow/ModuleCheck/pull/608))
40+
- evaluate suppress/noinspection annotations
41+
eagerly [@RBusarow](https://github.com/RBusarow) ([#604](https://github.com/rbusarow/ModuleCheck/pull/604))
42+
- fixes false negative for unused kapt plugin when there are no
43+
processors [@RBusarow](https://github.com/RBusarow) ([#603](https://github.com/rbusarow/ModuleCheck/pull/603))
44+
- fix Dagger NoSuchMethodError for `dagger.internal.Preconditions.checkNotNullFromProvides` in
45+
SNAPSHOT [@RBusarow](https://github.com/RBusarow) ([#570](https://github.com/rbusarow/ModuleCheck/pull/570))
46+
47+
### 🧰 Maintenance
48+
49+
- add a discrete job in CI for publishing to mavenLocal, then cache
50+
it [@RBusarow](https://github.com/RBusarow) ([#668](https://github.com/rbusarow/ModuleCheck/pull/668))
51+
- update the build classpath baseline for the snapshot build's new
52+
runt… [@RBusarow](https://github.com/RBusarow) ([#664](https://github.com/rbusarow/ModuleCheck/pull/664))
53+
- use the current SNAPSHOT for plugin
54+
dogfooding [@RBusarow](https://github.com/RBusarow) ([#663](https://github.com/rbusarow/ModuleCheck/pull/663))
55+
- migrate TestKit tests away from the Specs
56+
DSLs [@RBusarow](https://github.com/RBusarow) ([#660](https://github.com/rbusarow/ModuleCheck/pull/660))
57+
- hook dependencyGuard into the `check`
58+
task [@RBusarow](https://github.com/RBusarow) ([#661](https://github.com/rbusarow/ModuleCheck/pull/661))
59+
- give Dokka explicit dependency upon KtLint tasks and more broadly
60+
dis… [@RBusarow](https://github.com/RBusarow) ([#659](https://github.com/rbusarow/ModuleCheck/pull/659))
61+
- Update dropbox-dependencyGuard to
62+
v0.2.0 [@renovate](https://github.com/renovate) ([#657](https://github.com/rbusarow/ModuleCheck/pull/657))
63+
- require comments for public APIs in Detekt, and add
64+
baselines [@RBusarow](https://github.com/RBusarow) ([#656](https://github.com/rbusarow/ModuleCheck/pull/656))
65+
- add dependency-guard and
66+
baselines [@RBusarow](https://github.com/RBusarow) ([#654](https://github.com/rbusarow/ModuleCheck/pull/654))
67+
- Update dependency prism-react-renderer to
68+
v1.3.3 [@renovate](https://github.com/renovate) ([#653](https://github.com/rbusarow/ModuleCheck/pull/653))
69+
- Update dependency com.android.tools.build:gradle to
70+
v7.2.0 [@renovate](https://github.com/renovate) ([#620](https://github.com/rbusarow/ModuleCheck/pull/620))
71+
- Update actions/setup-java action to
72+
v3 [@renovate](https://github.com/renovate) ([#652](https://github.com/rbusarow/ModuleCheck/pull/652))
73+
- Update dependency com.autonomousapps.dependency-analysis to
74+
v1.2.1 [@renovate](https://github.com/renovate) ([#651](https://github.com/rbusarow/ModuleCheck/pull/651))
75+
- Update actions/upload-artifact action to
76+
v3 [@renovate](https://github.com/renovate) ([#629](https://github.com/rbusarow/ModuleCheck/pull/629))
77+
- Update dependency com.gradleup.auto.manifest to
78+
v2 [@renovate](https://github.com/renovate) ([#645](https://github.com/rbusarow/ModuleCheck/pull/645))
79+
- Update react monorepo to v18 (
80+
major) [@renovate](https://github.com/renovate) ([#646](https://github.com/rbusarow/ModuleCheck/pull/646))
81+
- remove github actions
82+
caching [@RBusarow](https://github.com/RBusarow) ([#649](https://github.com/rbusarow/ModuleCheck/pull/649))
83+
- remove
84+
dependabot [@RBusarow](https://github.com/RBusarow) ([#648](https://github.com/rbusarow/ModuleCheck/pull/648))
85+
- create a shared `.gradle` cache for TestKit
86+
tests [@RBusarow](https://github.com/RBusarow) ([#640](https://github.com/rbusarow/ModuleCheck/pull/640))
87+
- add the `artifacts-check` convention
88+
plugin [@RBusarow](https://github.com/RBusarow) ([#615](https://github.com/rbusarow/ModuleCheck/pull/615))
89+
- fix incorrect/duplicate maven artifact
90+
ids [@RBusarow](https://github.com/RBusarow) ([#614](https://github.com/rbusarow/ModuleCheck/pull/614))
91+
- revert KaptMatcher name
92+
to `modulecheck.api.KaptMatcher` [@RBusarow](https://github.com/RBusarow) ([#613](https://github.com/rbusarow/ModuleCheck/pull/613))
93+
-
94+
95+
delete `ConfiguredModule` [@RBusarow](https://github.com/RBusarow) ([#609](https://github.com/rbusarow/ModuleCheck/pull/609))
96+
97+
- disable the "use tab character" option in IDE
98+
codestyle [@RBusarow](https://github.com/RBusarow) ([#607](https://github.com/rbusarow/ModuleCheck/pull/607))
99+
- replace `java-test-fixtures` usages with `-testing`
100+
modules [@RBusarow](https://github.com/RBusarow) ([#605](https://github.com/rbusarow/ModuleCheck/pull/605))
101+
- Bump mermaid from 8.14.0 to 9.1.1 in
102+
/website [@dependabot](https://github.com/dependabot) ([#601](https://github.com/rbusarow/ModuleCheck/pull/601))
103+
- Dependency block to dependencies
104+
block [@RBusarow](https://github.com/RBusarow) ([#600](https://github.com/rbusarow/ModuleCheck/pull/600))
105+
- split
106+
up `:modulecheck-parsing:gradle` [@RBusarow](https://github.com/RBusarow) ([#599](https://github.com/rbusarow/ModuleCheck/pull/599))
107+
- Bump dagger from 2.41 to
108+
2.42 [@dependabot](https://github.com/dependabot) ([#597](https://github.com/rbusarow/ModuleCheck/pull/597))
109+
- rename `modulecheck.reporting.logging.Logger`
110+
to `McLogger` [@RBusarow](https://github.com/RBusarow) ([#593](https://github.com/rbusarow/ModuleCheck/pull/593))
111+
- pull `Finding` apis out of `:modulecheck-rules:api` and into their
112+
ow… [@RBusarow](https://github.com/RBusarow) ([#591](https://github.com/rbusarow/ModuleCheck/pull/591))
113+
- Fix execution optimization for KtLint
114+
in `:modulecheck-plugin` [@RBusarow](https://github.com/RBusarow) ([#590](https://github.com/rbusarow/ModuleCheck/pull/590))
115+
- use the stable version of the plugin in
116+
CI [@RBusarow](https://github.com/RBusarow) ([#589](https://github.com/rbusarow/ModuleCheck/pull/589))
117+
- suppress Detekt's ComplexMethod for single `when`
118+
statements [@RBusarow](https://github.com/RBusarow) ([#584](https://github.com/rbusarow/ModuleCheck/pull/584))
119+
- pull rules and configs into their own
120+
modules [@RBusarow](https://github.com/RBusarow) ([#583](https://github.com/rbusarow/ModuleCheck/pull/583))
121+
- Bump kotest-assertions-core-jvm from 5.2.3 to
122+
5.3.0 [@dependabot](https://github.com/dependabot) ([#579](https://github.com/rbusarow/ModuleCheck/pull/579))
123+
- Bump turbine from 0.7.0 to
124+
0.8.0 [@dependabot](https://github.com/dependabot) ([#580](https://github.com/rbusarow/ModuleCheck/pull/580))
125+
- fix `BasePluginTest`'s unused `stacktrace`
126+
parameter [@RBusarow](https://github.com/RBusarow) ([#578](https://github.com/rbusarow/ModuleCheck/pull/578))
127+
- add Detekt's SARIF reports to
128+
CI [@RBusarow](https://github.com/RBusarow) ([#568](https://github.com/rbusarow/ModuleCheck/pull/568))
129+
- standardize hermit's definition
130+
in `libs.versions.toml` [@RBusarow](https://github.com/RBusarow) ([#567](https://github.com/rbusarow/ModuleCheck/pull/567))
131+
- move `File.createSafely()` to production
132+
code [@RBusarow](https://github.com/RBusarow) ([#565](https://github.com/rbusarow/ModuleCheck/pull/565))
133+
- Bump dokka-gradle-plugin from 1.6.20 to
134+
1.6.21 [@dependabot](https://github.com/dependabot) ([#563](https://github.com/rbusarow/ModuleCheck/pull/563))
135+
- Bump async from 2.6.3 to 2.6.4 in
136+
/website [@dependabot](https://github.com/dependabot) ([#543](https://github.com/rbusarow/ModuleCheck/pull/543))
137+
- Bump kotlin-reflect from 1.6.20 to
138+
1.6.21 [@dependabot](https://github.com/dependabot) ([#553](https://github.com/rbusarow/ModuleCheck/pull/553))
139+
- Bump mermaid from 8.13.8 to 8.14.0 in
140+
/website [@dependabot](https://github.com/dependabot) ([#545](https://github.com/rbusarow/ModuleCheck/pull/545))
141+
- Bump dokka-gradle-plugin from 1.6.10 to
142+
1.6.20 [@dependabot](https://github.com/dependabot) ([#544](https://github.com/rbusarow/ModuleCheck/pull/544))
143+
- Bump @mdx-js/react from 1.6.22 to 2.1.1 in
144+
/website [@dependabot](https://github.com/dependabot) ([#546](https://github.com/rbusarow/ModuleCheck/pull/546))
145+
- Bump antlr4 from 4.10 to
146+
4.10.1 [@dependabot](https://github.com/dependabot) ([#550](https://github.com/rbusarow/ModuleCheck/pull/550))
147+
25148
### ℹ️ Website
26149

150+
- remove the `google()` repository requirement from
151+
docs [@RBusarow](https://github.com/RBusarow) ([#667](https://github.com/rbusarow/ModuleCheck/pull/667))
152+
- 594 hook into root project check
153+
task [@RBusarow](https://github.com/RBusarow) ([#611](https://github.com/rbusarow/ModuleCheck/pull/611))
154+
- replace `KaptMatcher`
155+
with `CodeGeneratorBinding` [@RBusarow](https://github.com/RBusarow) ([#610](https://github.com/rbusarow/ModuleCheck/pull/610))
156+
- update Docusaurus to
157+
2.0.0-beta.20 [@RBusarow](https://github.com/RBusarow) ([#592](https://github.com/rbusarow/ModuleCheck/pull/592))
158+
- add support for sarif
159+
reporting [@RBusarow](https://github.com/RBusarow) ([#566](https://github.com/rbusarow/ModuleCheck/pull/566))
160+
- strict rule/finding name
161+
conventions [@RBusarow](https://github.com/RBusarow) ([#564](https://github.com/rbusarow/ModuleCheck/pull/564))
27162
- add `google()` repository to config
28163
docs [@RBusarow](https://github.com/RBusarow) ([#559](https://github.com/rbusarow/ModuleCheck/pull/559))
29164
- add missing docs for
30165
rules [@RBusarow](https://github.com/RBusarow) ([#555](https://github.com/rbusarow/ModuleCheck/pull/555))
166+
- fix
167+
publishing [@RBusarow](https://github.com/RBusarow) ([#548](https://github.com/rbusarow/ModuleCheck/pull/548))
168+
- release
169+
0.12.0 [@RBusarow](https://github.com/RBusarow) ([#547](https://github.com/rbusarow/ModuleCheck/pull/547))
170+
171+
### Contributors
172+
173+
@RBusarow
31174

32175
# 0.12.0
33176

@@ -49,10 +192,10 @@
49192

50193
### 📐 New Rules
51194

52-
- Add the [Depths](https://rbusarow.github.io/ModuleCheck/docs/rules/depths)
195+
- Add the [Depths](https://rbusarow.github.io/ModuleCheck/docs/rules/project_depth)
53196
rule [@RBusarow](https://github.com/RBusarow) ([#278](https://github.com/rbusarow/ModuleCheck/pull/278))
54197
- New
55-
rule: [Unused Android Extensions](https://rbusarow.github.io/ModuleCheck/docs/rules/android/unused_kotlin_android_extensions) [@tasomaniac](https://github.com/tasomaniac) ([#440](https://github.com/rbusarow/ModuleCheck/pull/440))
198+
rule: [Unused Android Extensions](https://rbusarow.github.io/ModuleCheck/docs/rules/unused_kotlin_android_extensions) [@tasomaniac](https://github.com/tasomaniac) ([#440](https://github.com/rbusarow/ModuleCheck/pull/440))
56199

57200
### 🚀 Features
58201

build-logic/mcbuild/src/main/kotlin/modulecheck/builds/publishing.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import org.gradle.plugins.signing.Sign
3333

3434
const val GROUP = "com.rickbusarow.modulecheck"
3535
const val PLUGIN_ID = "com.rickbusarow.module-check"
36-
const val VERSION_NAME = "0.12.1-SNAPSHOT"
36+
const val VERSION_NAME = "0.12.2"
3737
const val SOURCE_WEBSITE = "https://github.com/rbusarow/ModuleCheck"
3838
const val DOCS_WEBSITE = "https://rbusarow.github.io/ModuleCheck"
3939

website/docs/configuration.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem';
1515

1616
``` kotlin title="root/build.gradle.kts"
1717
plugins {
18-
id("com.rickbusarow.module-check") version "0.12.1-SNAPSHOT"
18+
id("com.rickbusarow.module-check") version "0.12.2"
1919
}
2020

2121
moduleCheck {
@@ -94,7 +94,7 @@ moduleCheck {
9494

9595
``` groovy title="root/build.gradle"
9696
plugins {
97-
id 'com.rickbusarow.module-check' version '0.12.1-SNAPSHOT'
97+
id 'com.rickbusarow.module-check' version '0.12.2'
9898
}
9999
100100
moduleCheck {

website/docs/quickstart.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ pluginManagement {
3535
// top-level build.gradle.kts
3636

3737
plugins {
38-
id("com.rickbusarow.module-check") version "0.12.1-SNAPSHOT"
38+
id("com.rickbusarow.module-check") version "0.12.2"
3939
}
4040
```
4141

@@ -61,7 +61,7 @@ pluginManagement {
6161
// top-level build.gradle
6262
6363
plugins {
64-
id 'com.rickbusarow.module-check' version '0.12.1-SNAPSHOT'
64+
id 'com.rickbusarow.module-check' version '0.12.2'
6565
}
6666
```
6767

website/docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = {
106106
docs: {
107107
remarkPlugins: [require('mdx-mermaid')],
108108
sidebarPath: require.resolve("./sidebars.js"),
109-
editUrl: "https://github.com/rbusarow/ModuleCheck",
109+
editUrl: "https://github.com/rbusarow/ModuleCheck/blob/main/website",
110110
},
111111
blog: {
112112
showReadingTime: true,

website/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "modulecheck",
3-
"version": "0.12.1-SNAPSHOT",
3+
"version": "0.12.2",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",
@@ -19,7 +19,7 @@
1919
"@docusaurus/theme-classic": "2.0.0-beta.20",
2020
"@mdx-js/react": "1.6.22",
2121
"clsx": "1.1.1",
22-
"mdx-mermaid": "1.2.2",
22+
"mdx-mermaid": "1.2.3",
2323
"mermaid": "9.1.1",
2424
"prism-react-renderer": "1.3.3",
2525
"react": "18.1.0",

0 commit comments

Comments
 (0)