Skip to content

Add support for excludedFiles and excludedPackages for Scala 3 #205

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
upgrades - scoverage version to 2.1.1; default scala version to 2.13.…
…14; Scala 3 cross version test to 3.4.2
  • Loading branch information
msigmond committed Jun 17, 2024
commit b276e623737452758b85d645dca8c2f63cb3dc22
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
dependencies {
implementation 'org.scala-lang:scala3-library_3:3.2.0'
testImplementation 'org.scalatest:scalatest_3:3.2.14'
testImplementation "org.scalatestplus:junit-4-13_3:3.2.14.0"
implementation 'org.scala-lang:scala3-library_3:3.4.2'
testImplementation 'org.scalatest:scalatest_3:3.2.16'
testImplementation "org.scalatestplus:junit-4-13_3:3.2.16.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ private void configureArguments(String... arguments) {

fullArguments.add("-PscalaVersionMajor=2");
fullArguments.add("-PscalaVersionMinor=13");
fullArguments.add("-PscalaVersionBuild=10");
fullArguments.add("-PscalaVersionBuild=14");
fullArguments.add("-PjunitVersion=5.3.2");
fullArguments.add("-PjunitPlatformVersion=1.3.2");
fullArguments.add("-PscalatestVersion=3.0.8");
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/org/scoverage/ScoverageExtension.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ScoverageExtension {
project.plugins.apply(ScalaPlugin.class)

scoverageVersion = project.objects.property(String)
scoverageVersion.set('2.0.8')
scoverageVersion.set('2.1.1')

scoverageScalaVersion = project.objects.property(String)

Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/org/scoverage/ScoveragePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class ScoveragePlugin implements Plugin<PluginAware> {
static final String CHECK_NAME = 'checkScoverage'
static final String COMPILE_NAME = 'compileScoverageScala'
static final String AGGREGATE_NAME = 'aggregateScoverage'
static final String DEFAULT_SCALA_VERSION = '2.13.6'
static final String DEFAULT_SCALA_VERSION = '2.13.14'
static final String SCOVERAGE_COMPILE_ONLY_PROPERTY = 'scoverageCompileOnly';

static final String DEFAULT_REPORT_DIR = 'reports' + File.separatorChar + 'scoverage'
Expand Down