NetLogo / NetLogo/Matrix-Extension
build.sbt: method libraryJar in trait ScalaInstance is deprecated
Open
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
I noticed a depreciation warning for build.sbt during a CI run.
[info] loading project definition from /home/runner/work/NetLogo/NetLogo/extensions/matrix/project
/home/runner/work/NetLogo/NetLogo/extensions/matrix/build.sbt:45: warning: method libraryJar in trait ScalaInstance is deprecated: see corresponding Javadoc for more information.
val classpath = (allDependencies :+ scalaInstance.value.libraryJar).map(_.getPath).mkString(":")
^
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at line 45 of build.sbt, where scalaInstance.value.libraryJar produces the deprecation warning during the referenced CI run. Identify the supported replacement for the deprecated method, update the build definition, and rerun the relevant CI or build check to confirm the warning is gone.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 50/100