Skip to content

Commit

Permalink
change dependency type for api and aa module
Browse files Browse the repository at this point in the history
  • Loading branch information
neetopia committed Oct 9, 2023
1 parent abf04b7 commit 0f0154a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 4 additions & 2 deletions gradle-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ dependencies {
// replace AGP dependency w/ gradle-api when we have source registering API available.
compileOnly("com.android.tools.build:gradle:$agpBaseVersion")
compileOnly(gradleApi())
compileOnly(project(":kotlin-analysis-api"))
compileOnly(project(":api"))
implementation(project(":kotlin-analysis-api")) {
isTransitive = false
}
implementation(project(":api"))
testImplementation(gradleApi())
testImplementation(project(":api"))
testImplementation(project(":common-util"))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ abstract class KspAATask @Inject constructor(
// 1. passing arguments by data structures in stdlib, or
// 2. hoisting and publishing KspGradleConfig into another package.

val workerQueue = workerExecutor.classLoaderIsolation {
it.classpath.setFrom(kspClasspath)
}
val workerQueue = workerExecutor.noIsolation()
workerQueue.submit(KspAAWorkerAction::class.java) {
it.config = kspConfig
it.kspClassPath = kspClasspath
Expand Down

0 comments on commit 0f0154a

Please sign in to comment.