Skip to content

Commit 99f57a1

Browse files
committed
Fix typos
1 parent ff2a8c5 commit 99f57a1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,15 @@ configurations.create("allDependencies") {
242242
attributes { attribute(consistentResolutionAttribute, "global") }
243243
}
244244

245-
// Define a "global claspath" (as Resolvable Configuration)
245+
// Define a "global classpath" (as Resolvable Configuration)
246246
val mainRuntimeClasspath = configurations.create("mainRuntimeClasspath") {
247247
isCanBeConsumed = false
248248
isCanBeResolved = true
249249
attributes.attribute(consistentResolutionAttribute, "global")
250250
}
251251

252252
// Add a dependency to the 'main' project(s) (:app ins this example) that transitively
253-
// depend on all subprojects to create a depenedency graph wih "everything"
253+
// depend on all subprojects to create a dependency graph with "everything"
254254
dependencies { mainRuntimeClasspath(project(":app")) }
255255

256256
// Use the global classpath for consisten resolution (optional)

src/main/java/org/gradlex/javamodule/moduleinfo/ExtraJavaModuleInfoTransform.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ private byte[] addModuleInfo(
448448
ModuleVisitor moduleVisitor =
449449
classWriter.visitModule(moduleInfo.getModuleName(), openModule, moduleVersion);
450450
moduleVisitor.visitRequire("java.base", 0, null);
451-
addModuleInfoEntires(moduleInfo, providers, autoExportedPackages, moduleVisitor);
451+
addModuleInfoEntries(moduleInfo, providers, autoExportedPackages, moduleVisitor);
452452
moduleVisitor.visitEnd();
453453
classWriter.visitEnd();
454454
} else {
@@ -495,7 +495,7 @@ public void visitProvide(String service, String... providers) {
495495

496496
@Override
497497
public void visitEnd() {
498-
addModuleInfoEntires(moduleInfo, Collections.emptyMap(), autoExportedPackages, this);
498+
addModuleInfoEntries(moduleInfo, Collections.emptyMap(), autoExportedPackages, this);
499499
super.visitEnd();
500500
}
501501
};
@@ -524,7 +524,7 @@ private static String pathToPackage(String path) {
524524
return path.replace('/', '.');
525525
}
526526

527-
private void addModuleInfoEntires(
527+
private void addModuleInfoEntries(
528528
ModuleInfo moduleInfo,
529529
Map<String, List<String>> providers,
530530
Set<String> autoExportedPackages,

0 commit comments

Comments
 (0)