Skip to content

Commit eef3857

Browse files
committed
Add jQAssistant to SDKMAN (cf. jQAssistant/jqassistant#745)
1 parent b1f1d69 commit eef3857

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
package io.sdkman.changelogs
2+
3+
import com.github.mongobee.changeset.{ChangeLog, ChangeSet}
4+
import com.mongodb.client.MongoDatabase
5+
import org.bson.Document
6+
7+
@ChangeLog(order = "089")
8+
class JqaMigrations {
9+
final val CandidateName = "jqassistant"
10+
11+
@ChangeSet(order = "001", id = "001_add_jqa_2_6_0", author = "ascheman")
12+
def migration001(implicit db: MongoDatabase): Document = {
13+
Candidate(
14+
candidate = CandidateName,
15+
name = "jQAssistant",
16+
description =
17+
"jQAssistant is an open-source tool for software analytics, enabling you to gain insights into your systems, verify design implementation, and create living documentation. By scanning code and configurations into a Neo4j graph database, it helps maintain software quality and bridge the gap between documentation and implementation.",
18+
websiteUrl = "https://jqassistant.org"
19+
).insert()
20+
val v250 = Version(
21+
CandidateName,
22+
"2.5.0",
23+
"https://github.com/jQAssistant/jqassistant/releases/download/2.5.0/jqassistant-commandline-neo4jv4-2.5.0-distribution.zip"
24+
)
25+
val v260 = Version(
26+
CandidateName,
27+
"2.6.0",
28+
"https://github.com/jQAssistant/jqassistant/releases/download/2.6.0/jqassistant-commandline-neo4jv4-2.6.0-distribution.zip"
29+
)
30+
List(
31+
v250,
32+
v260
33+
).validate().insert()
34+
setCandidateDefault(v260.candidate, v260.version)
35+
}
36+
}

0 commit comments

Comments
 (0)