File tree Expand file tree Collapse file tree 2 files changed +26
-17
lines changed
Expand file tree Collapse file tree 2 files changed +26
-17
lines changed Original file line number Diff line number Diff line change @@ -119,26 +119,33 @@ scalacOptions ++= Seq(
119119)
120120
121121lazy val generateDescriptor =
122- taskKey[Unit ](" Generate a descriptor that is used by coursier to install polystat-cli." )
122+ taskKey[Unit ](
123+ " Generate a descriptor that is used by coursier to install polystat-cli."
124+ )
123125
124126generateDescriptor := {
125127 val ver = version.value
126128 val org = organization.value
127129 val artifactName = name.value
128130 val descriptor =
129131 s """ |{
130- | "repositories": [
131- | "ivy2Local",
132- | "central"
133- | ],
134- | "dependencies": [
135- | " ${org}: ${artifactName}_3: ${ver}"
136- | ]
137- |}
132+ | "polystat": {
133+ | "repositories": [
134+ | "ivy2Local",
135+ | "central"
136+ | ],
137+ | "dependencies": [
138+ | " ${org}: ${artifactName}_3: ${ver}"
139+ | ]
140+ | }
141+ |}
138142 | """ .stripMargin
139143 println(descriptor)
140144 java.nio.file.Files
141- .write(java.nio.file.Paths .get(" coursier/polystat.json" ), descriptor.getBytes)
145+ .write(
146+ java.nio.file.Paths .get(" coursier/polystat.json" ),
147+ descriptor.getBytes,
148+ )
142149}
143150
144151commands += Command .args(" preRelease" , " <arg>" ) { (state, args) =>
Original file line number Diff line number Diff line change 11{
2- "repositories" : [
3- " ivy2Local" ,
4- " central"
5- ],
6- "dependencies" : [
7- " org.polystat:polystat-cli_3:0.1.11-SNAPSHOT"
8- ]
2+ "polystat" : {
3+ "repositories" : [
4+ " ivy2Local" ,
5+ " central"
6+ ],
7+ "dependencies" : [
8+ " org.polystat:polystat-cli_3:0.1.11-SNAPSHOT"
9+ ]
10+ }
911}
You can’t perform that action at this time.
0 commit comments