sorry, stupid question (but after some searching I...
# scripting
e
sorry, stupid question (but after some searching I couldn't find an answer).. is maven central used by default?
👌 1
weird, now it works
I had this
Copy code
@file:DependsOn("com.sealwu:kscript-tools:1.0.22")
@file:Repository("<https://repo.gradle.org/gradle/libs-releases>")
@file:DependsOn("org.gradle:gradle-tooling-api:8.4")
and it complained it couldn't find
kscript-tools
in the gradle libs-release repo
after some commenting in and out, now it seems working
ah, when I try to run I do get the same error:
Copy code
release-version.main.kts:1:1: warning: file 'com.sealwu:kscript-tools:1.0.22' not found
release-version.main.kts:1:1: warning: artifactResolutionException: Could not find artifact com.sealwu:kscript-tools:jar:1.0.22 in https___repo.gradle.org_gradle_libs-releases (<https://repo.gradle.org/gradle/libs-releases>)
manually adding mavenCentral works
Copy code
@file:Repository("<https://repo.maven.apache.org/maven2>")
@file:DependsOn("com.sealwu:kscript-tools:1.0.22")
@file:Repository("<https://repo.gradle.org/gradle/libs-releases>")
@file:DependsOn("org.gradle:gradle-tooling-api:8.4")
m
I think it's used by default unless you manually add a repo
👌 1
Then your user define repo override the default
e
yeah, that'd explain it