Skip to content

Commit 3e388d1

Browse files
committed
[build] fix okhttp-digest dependency resolution
1 parent eeebf19 commit 3e388d1

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

build.gradle

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
buildscript {
2+
configurations.classpath {
3+
resolutionStrategy.dependencySubstitution {
4+
// https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/679#issuecomment-2371010585
5+
// fix dependencies (Could not find io.github.rburgst:okhttp-digest:1.10)
6+
substitute module('com.burgstaller:okhttp-digest') using module('io.github.rburgst:okhttp-digest:1.21')
7+
}
8+
}
9+
}
10+
111
plugins {
212
id 'org.asciidoctor.jvm.convert' version '3.3.2'
313
id 'org.asciidoctor.jvm.pdf' version '3.3.2'

settings.gradle

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1 @@
1-
pluginManagement {
2-
repositories {
3-
// https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/679#issuecomment-2252292062
4-
maven {
5-
url "https://archiva-repository.apache.org/archiva/repository/public/"
6-
}
7-
gradlePluginPortal()
8-
mavenCentral()
9-
}
10-
}
11-
121
rootProject.name = 'asciidoc-template'

0 commit comments

Comments
 (0)