Skip to content

Commit bf0534a

Browse files
authored
Fix a few isolated project errors (#6799)
1 parent 09a15ab commit bf0534a

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

build-logic/src/main/kotlin/api.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ fun Project.apolloLibrary(
108108
extensions.getByType(PublishingExtension::class.java).repositories.apply {
109109
maven {
110110
it.name = "pluginTest"
111-
it.url = uri(rootProject.layout.buildDirectory.dir("localMaven"))
111+
it.url = uri(rootDir.resolve("build/localMaven"))
112112
}
113113
}
114114
}

build-logic/src/main/kotlin/dokka.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ fun Project.maybeCustomizeDokka(moduleName: String? = null) {
1212
pluginsConfiguration.getByName("html") {
1313
it as DokkaHtmlPluginParameters
1414
it.customStyleSheets.from(
15-
listOf("style.css", "prism.css", "logo-styles.css").map { rootProject.file("dokka/$it") }
15+
listOf("style.css", "prism.css", "logo-styles.css").map { project.rootDir.resolve("dokka/$it") }
1616
)
1717
it.customAssets.from(
18-
listOf("apollo.svg").map { rootProject.file("dokka/$it") }
18+
listOf("apollo.svg").map { project.rootDir.resolve("dokka/$it") }
1919
)
2020
}
2121
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ org.gradle.jvmargs=-Xmx8g
66
org.gradle.caching=true
77
org.gradle.configuration-cache=true
88
#org.gradle.unsafe.isolated-projects=true
9+
#ksp.project.isolation.enabled=true
910
org.gradle.parallel=true
1011
org.gradle.configuration-cache.parallel=true
1112

gradle/libraries.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ androidx-test-runner = "androidx.test:runner:1.7.0"
177177
truth = { group = "com.google.truth", name = "truth", version.ref = "truth" }
178178
turbine = { group = "app.cash.turbine", name = "turbine", version = "1.2.1" }
179179
uuid = { group = "com.benasher44", name = "uuid", version = "0.8.4" }
180-
librarian = "com.gradleup.librarian:librarian-gradle-plugin:0.2.1-SNAPSHOT-0e052601ffa861b65446d7525d4dae4dcf8f045a"
180+
librarian = { module ="com.gradleup.librarian:librarian-gradle-plugin", version = "0.2.2-SNAPSHOT-2cde396ec5d739d8857aa98f99885ba62ca1769a" }
181181
nmcp = { module = "com.gradleup.nmcp:nmcp", version.ref = "nmcp" }
182182
nmcp-tasks = { module = "com.gradleup.nmcp:nmcp-tasks", version.ref = "nmcp" }
183183
slf4j-simple = "org.slf4j:slf4j-simple:2.0.17"

0 commit comments

Comments
 (0)