@@ -18,6 +18,16 @@ configurations {
1818 testRunner
1919}
2020
21+ configurations. all {
22+ // Detect conflicts in JAR dependencies
23+ resolutionStrategy {
24+ failOnVersionConflict()
25+ // Resolve JAR issue (JAS 2.7.200 may pull in too new log4j)
26+ force ' org.apache.logging.log4j:log4j-api:2.24.0'
27+ force ' org.apache.logging.log4j:log4j-core:2.24.0'
28+ }
29+ }
30+
2131// Libraries not on Maven Central
2232// Get from prismmodelchecker.org and cache in local-libs
2333
@@ -52,24 +62,32 @@ tasks.register('downloadPrismJars') {
5262
5363dependencies {
5464
65+ // Colt (random number generation for simulator)
5566 implementation ' colt:colt:1.2.0'
56- implementation( " de.uni-mannheim.rz.krum:jas:2.7.90 " )
57- implementation ' org.jfree:jfreechart:1.0.14 '
58- implementation ' org.jfree:jcommon:1.0.17 '
59- // implementation(" com.martiansoftware:nailgun-server:0.9.1")
60- implementation ' it.unimi.dsi:fastutil:8.5.15 '
67+ // JAS: Java Algebra System (parametric engine )
68+ implementation( " de.uni-mannheim.rz.krum:jas:2.7.200 " )
69+ // GSON (JSON reading/writing for UMB)
70+ implementation ' com.google.code.gson:gson:2.11.0 '
71+ // Compression libraries (for import/export, e.g., UMB)
6172 implementation ' org.apache.commons:commons-compress:1.24.0'
6273 implementation ' org.apache.commons:commons-math3:3.3'
6374 implementation ' org.tukaani:xz:1.10'
64- implementation ' com.google.code.gson:gson:2.11.0'
65- implementation ' org.apache.logging.log4j:log4j-api:2.17.1'
66- implementation ' org.apache.logging.log4j:log4j-core:2.17.1'
75+ // fastutil (fast data structures, e.g., UMB import/export)
76+ implementation ' it.unimi.dsi:fastutil:8.5.15'
77+ // JFreeChart (graph plotting in GUI)
78+ implementation ' org.jfree:jfreechart:1.0.14'
79+
80+ // Log4j (needed by JAS, possibly others)
81+ implementation ' org.apache.logging.log4j:log4j-api:2.24.0'
82+ implementation ' org.apache.logging.log4j:log4j-core:2.24.0'
83+
84+ // implementation("com.martiansoftware:nailgun-server:0.9.1")
6785
6886 // JUnit: for simplicity, don't put in separate test group for now
6987 implementation ' org.junit.platform:junit-platform-console-standalone:1.7.2'
7088 // testRunner 'org.junit.platform:junit-platform-console-standalone:1.9.3'
7189
72- // Grab anything we can't find online from our local stash
90+ // Grab anything we can't find online from our local stash
7391 implementation fileTree(dir : ' local-libs' , include : [' *.jar' ])
7492}
7593
0 commit comments