-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (35 loc) · 1.56 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// Copyright by Barry G. Becker, 2013. Licensed under MIT License: http://www.opensource.org/licenses/MIT
buildscript {
repositories {
maven { url "https://oss.sonatype.org/content/repositories/snapshots/"}
maven { url "https://oss.sonatype.org/content/repositories/releases/" }
}
dependencies {
classpath 'com.barrybecker4:bb4-gradle:1.8-SNAPSHOT'
}
}
plugins {
id "com.github.maiflai.scalatest" version "0.32" // needed to run scala tests
}
description = 'A Scala library project containing a collection of heuristic optimization algorithms.'
group = 'com.barrybecker4'
version = '1.8-SNAPSHOT'
ext {
archivesBaseName = 'bb4-optimization'
mainClass = "com.barrybecker4.optimization.viewer.OptimizerEvalApp"
}
apply from: project.buildscript.classLoader.getResource('bb4.gradle').toURI()
dependencies {
// starting in scala 2.13, parallel collections must be included separately
implementation 'org.scala-lang.modules:scala-parallel-collections_3:1.0.4'
implementation 'com.barrybecker4:bb4-ui:1.8-SNAPSHOT'
implementation 'com.barrybecker4:bb4-math:1.8-SNAPSHOT'
implementation 'com.barrybecker4:bb4-common:1.8-SNAPSHOT'
}
// Without this, the build failed in jenkins with the error:
// Entry performance/test_optimizer/analytic_ABS_SINUSOIDAL_optimization.txt
// is a duplicate but no duplicate handling strategy has been set.
rootProject.tasks.named("processTestResources") {
duplicatesStrategy = DuplicatesStrategy.WARN
}
apply from: project.buildscript.classLoader.getResource('bb4-publish.gradle').toURI()