File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ tasks.withType<Jar> {
20
20
put(" Implementation-Version" , lib.version)
21
21
put(" Implementation-Homepage" , " https://github.com/OptimumCode/json-schema-validator" )
22
22
put(" Implementation-Issues" , " https://github.com/OptimumCode/json-schema-validator/issues" )
23
+ put(" Implementation-Source" , " https://github.com/OptimumCode/json-schema-validator" )
23
24
},
24
25
)
25
26
}
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ class BowtieSampsonSchemaValidatorLauncher(
55
55
private val libraryVersion: String
56
56
private val libraryHomepage: String
57
57
private val libraryIssues: String
58
+ private val librarySource: String
58
59
59
60
init {
60
61
val attributes: Attributes = javaClass.getResourceAsStream(" META-INF/MANIFEST.MF" ).use {
@@ -65,6 +66,7 @@ class BowtieSampsonSchemaValidatorLauncher(
65
66
libraryVersion = getValue(" Implementation-Version" )
66
67
libraryHomepage = getValue(" Implementation-Homepage" )
67
68
libraryIssues = getValue(" Implementation-Issues" )
69
+ librarySource = getValue(" Implementation-Source" )
68
70
}
69
71
}
70
72
@@ -189,6 +191,7 @@ class BowtieSampsonSchemaValidatorLauncher(
189
191
homepage = libraryHomepage,
190
192
dialects = SUPPORTED_DIALECTS ,
191
193
issues = libraryIssues,
194
+ source = librarySource,
192
195
),
193
196
),
194
197
),
Original file line number Diff line number Diff line change @@ -8,14 +8,16 @@ class StartResponse(
8
8
val implementation : Implementation ,
9
9
)
10
10
11
+ @Suppress(" LongParameterList" )
11
12
@Serializable
12
13
class Implementation (
13
14
val language : String = " kotlin" ,
14
15
val name : String = " kmp-json-schema-validator" ,
15
16
val version : String ,
16
17
val dialects : Set <String >,
17
- val homepage : String? = null ,
18
+ val homepage : String ,
18
19
val issues : String ,
20
+ val source : String ,
19
21
)
20
22
21
23
@Serializable
You can’t perform that action at this time.
0 commit comments