NetLogo / NetLogo/Matrix-Extension

build.sbt: method libraryJar in trait ScalaInstance is deprecated

Open
#16 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.