Skip to content

Commit

Permalink
release 2.6.9
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun committed May 16, 2023
1 parent f7ed654 commit ce17bbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ plugins {
}

group 'com.github.shalousun'
version '2.6.8'
version '2.6.9'

sourceCompatibility = 1.8

Expand All @@ -29,7 +29,7 @@ repositories {
}

dependencies {
implementation group: 'com.github.shalousun', name: 'smart-doc', version: '2.6.8'
implementation group: 'com.github.shalousun', name: 'smart-doc', version: '2.6.9'
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/com/smartdoc/gradle/task/DocBaseTask.java
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public void action() {
/**
* Classloading
*
* @return
* @return JavaProjectBuilder
*/
private JavaProjectBuilder buildJavaProjectBuilder(Project project, Set<String> excludes, Set<String> includes) {
// JavaProjectBuilder javaDocBuilder = new JavaProjectBuilder();
Expand All @@ -146,7 +146,7 @@ private JavaProjectBuilder buildJavaProjectBuilder(Project project, Set<String>
getLogger().quiet(MSG + src);
javaDocBuilder.addSourceTree(src);
});
//sources.stream().map(File::new).forEach(javaDocBuilder::addSourceTree);
// sources.stream().map(File::new).forEach(javaDocBuilder::addSourceTree);
// javaDocBuilder.addClassLoader(ClassLoaderUtil.getRuntimeClassLoader(project));
loadSourcesDependencies(javaDocBuilder, project, excludes, includes);
return javaDocBuilder;
Expand All @@ -172,15 +172,15 @@ private void loadSourcesDependencies(JavaProjectBuilder javaDocBuilder, Project
.setArtifactId(version.getId().getName())
.setVersion(version.getId().getVersion());
// add local source
String artifactName = moduleArtifact.getGroup() + ":" + moduleArtifact.getArtifactId();
String artifactName = moduleArtifact.getGroupId() + ":" + moduleArtifact.getArtifactId();
addModuleSourceTree(javaDocBuilder, allModules, artifactName);

}
CustomArtifact artifact = selfModule ? moduleArtifact : CustomArtifact.builder(displayName);
if (ArtifactFilterUtil.ignoreArtifact(artifact) || ArtifactFilterUtil.ignoreSpringBootArtifactById(artifact)) {
continue;
}
String artifactName = artifact.getGroup() + ":" + artifact.getArtifactId();
String artifactName = artifact.getGroupId() + ":" + artifact.getArtifactId();
if (RegexUtil.isMatches(excludes, artifactName)) {
continue;
}
Expand Down

0 comments on commit ce17bbd

Please sign in to comment.