File tree Expand file tree Collapse file tree
kotlin/com/teamscale/profiler/installer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ We use [semantic versioning](http://semver.org/):
77# Next version
88- [ breaking fix] _ teamscale-gradle-plugin_ : Adjusted to breaking API changes in Gradle 9.0
99- [ feature] Reduced dependencies and hence the size of all artifacts
10+ - [ fix] _ installer_ : ` InaccessibleObjectException ` at startup
1011
1112# 35.2.2
1213- [ fix] _ teamscale-gradle-plugin_ : TeamscaleUpload task did not properly validate ` revision ` argument
Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ tasks.jar {
2121 }
2222}
2323
24+ // Workaround for https://youtrack.jetbrains.com/issue/KT-55389
25+ tasks.compileJava {
26+ val mainSourceSetOutput = sourceSets.main.get().output
27+ options.compilerArgumentProviders.add(CommandLineArgumentProvider {
28+ listOf (
29+ " --patch-module" ,
30+ " com.teamscale.profiler.installer=${mainSourceSetOutput.asPath} "
31+ )
32+ })
33+ }
34+
2435tasks.withType<JavaCompile > {
2536 options.release = 21
2637}
Original file line number Diff line number Diff line change 88 // used e.g. by teamscale.io
99 requires jdk .crypto .ec ;
1010 requires kotlin .stdlib ;
11+
12+ exports com .teamscale .profiler .installer to info .picocli ;
13+ opens com .teamscale .profiler .installer to info .picocli ;
1114}
1215
Original file line number Diff line number Diff line change @@ -14,16 +14,16 @@ class InstallCommand : Callable<Int> {
1414 converter = [HttpUrlTypeConverter ::class ],
1515 description = [" The URL of your Teamscale instance." ]
1616 )
17- private val teamscaleUrl: HttpUrl ? = null
17+ private var teamscaleUrl: HttpUrl ? = null
1818
1919 @CommandLine.Parameters (
2020 index = " 1" ,
2121 description = [" The user used to access your Teamscale instance and upload coverage to your projects." ]
2222 )
23- private val userName: String? = null
23+ private var userName: String? = null
2424
2525 @CommandLine.Parameters (index = " 2" , description = [" The access key of the given user. NOT the password!" ])
26- private val accessKey: String? = null
26+ private var accessKey: String? = null
2727
2828 override fun call (): Int {
2929 try {
You can’t perform that action at this time.
0 commit comments