-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
86 lines (69 loc) · 3.04 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
plugins {
id 'java' // java support
id 'scala' // scala support
id 'maven-publish' // publish to a maven repo (local or mvn central, has to be defined)
id "com.github.johnrengelman.shadow" version "8.1.1"
}
ext {
//version (changing these should be considered thoroughly!)
javaVersion = JavaVersion.VERSION_17
scalaVersion = '2.13'
scalaBinaryVersion = '2.13.12'
pekkoVersion = "1.1.1"
scriptsLocation = 'gradle' + File.separator + 'scripts' + File.separator // location of script plugins
}
group = 'com.github.ie3-institute'
description = 'simosaik'
java {
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
configurations {
scalaCompilerPlugin
}
repositories {
mavenCentral() // searches in Sonatype's central repository
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots' } // sonatype snapshot repo
maven { url 'https://packages.confluent.io/maven' } // confluent repo (kafka)
}
dependencies {
implementation 'com.opencsv:opencsv:5.5.2'
implementation 'tech.units:indriya:2.2' // quantities
/* Mosaik dependencies */
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.9.3'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
// ie³ internal repository
implementation('com.github.ie3-institute:PowerSystemUtils:2.2.1') {
exclude group: 'org.apache.logging.log4j'
exclude group: 'org.slf4j'
/* Exclude our own nested dependencies */
exclude group: 'com.github.ie3-institute'
}
implementation('com.github.ie3-institute:PowerSystemDataModel:5.1.0') {
exclude group: 'org.apache.logging.log4j'
exclude group: 'org.slf4j'
/* Exclude our own nested dependencies */
exclude group: 'com.github.ie3-institute'
}
implementation('com.github.ie3-institute:simonaAPI:0.4.0') {
exclude group: 'org.apache.logging.log4j'
exclude group: 'org.slf4j'
/* Exclude our own nested dependencies */
exclude group: 'edu.ie3'
}
//implementation files('/home/smjobaoo/git/simonaAPI_dev/simosaik/libs/mosaik-api-java-3.0.jar')
implementation files('libs/iee-opsim-datamodel-3.3.8.jar')
implementation files('libs/mosaik-api-java-3.0.jar')
implementation files('libs/iee-opsim-client-2.2.23-SNAPSHOT-jar-with-dependencies.jar')
/* logging */
implementation "com.typesafe.scala-logging:scala-logging_${scalaVersion}:3.9.5" // pekko scala logging
implementation "ch.qos.logback:logback-classic:1.4.14"
/* --- Scala libs --- */
/* CORE Scala */
implementation "org.scala-lang:scala-library:${scalaBinaryVersion}"
/* CORE Pekko */
implementation "org.apache.pekko:pekko-actor_${scalaVersion}:${pekkoVersion}"
implementation "org.apache.pekko:pekko-actor-typed_${scalaVersion}:${pekkoVersion}"
implementation "org.apache.pekko:pekko-slf4j_${scalaVersion}:${pekkoVersion}"
//implementation "org.apache.pekko:pekko-connectors-csv_${scalaVersion}:${pekkoVersion}"
}