1- import kotlin .Keys .{kotlinRuntimeProvided , kotlinVersion , kotlincJvmTarget }
1+ import kotlin .Keys .{kotlincJvmTarget , kotlinRuntimeProvided , kotlinVersion }
22import sbt .ThisBuild
33import org .jetbrains .sbtidea .Keys .*
44import sbt .*
@@ -8,23 +8,47 @@ enablePlugins(OssumIncPlugin)
88Global / onChangedBuildSource := ReloadOnSourceChanges
99(Global / excludeLintKeys) ++= Set (mainClass)
1010
11+ lazy val developers : List [Developer ] = List (
12+ Developer (
13+ " AlWein92" ,
14+ " Alex Weinstein" ,
15+ " alex.weinstein@improving.com" ,
16+ url(" https://github.com/AlWein92" )
17+ ),
18+ Developer (
19+ id = " reid-spencer" ,
20+ " Reid Spencer" ,
21+ " reid.spencer@ossuminc.com" ,
22+ url(" https://github.com/reid-spencer" )
23+ )
24+ )
25+
1126resolvers += Resolver .githubPackages(" ossuminc" , " riddl" )
1227
1328lazy val riddlIdeaPlugin : Project =
14- Root (" riddl-idea-plugin" , " com.ossuminc.riddl.plugins.idea" , startYr = 2024 )
15- .configure(
29+ Root (
30+ ghRepoName = " riddl-idea-plugin" ,
31+ ghOrgName = " ossuminc" ,
32+ orgPackage = " com.ossuminc.riddl.plugins.idea" ,
33+ orgName = " Ossum, Inc." ,
34+ orgPage = url(" https://www.ossuminc.com/" ),
35+ startYr = 2024 ,
36+ devs = developers,
37+ spdx = " Apache-2.0"
38+ ).configure(
1639 With .typical,
1740 With .scalaTest(V .scalatest),
1841 With .coverage(90 ),
1942 With .riddl(V .riddl),
20- With .build_info
43+ With .build_info,
44+ With .GithubPublishing
2145 )
2246 .enablePlugins(KotlinPlugin , JavaAppPackaging )
2347 .settings(
2448 kotlinVersion := " 2.0.0" ,
2549 kotlincJvmTarget := " 21" ,
2650 kotlinRuntimeProvided := true ,
27- buildInfoPackage := " com.ossuminc.riddl.plugins.idea " ,
51+ buildInfoPackage := ( ThisBuild / organization).value ,
2852 buildInfoObject := " RiddlIDEAPluginBuildInfo" ,
2953 description := " The plugin for supporting RIDDL in IntelliJ" ,
3054 libraryDependencies ++= Seq (
@@ -34,7 +58,6 @@ lazy val riddlIdeaPlugin: Project =
3458 Dep .junit
3559 ),
3660 Test / parallelExecution := false ,
37- scalaVersion := " 3.4.3" ,
3861 ThisBuild / intellijPluginName := " RIDDL4IDEA" ,
3962 ThisBuild / intellijBuild := " 243.22562.218" ,
4063 ThisBuild / intellijPlatform := IntelliJPlatform .IdeaCommunity ,
0 commit comments