前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
sys.props.get("plugin.version").orElse(Some("2.4.1")) match {
case Some(x) => addSbtPlugin("io.github.jxnu-liguobin" % "graphql-codegen-sbt-plugin" % x) case _ => sys.error("""|The system property 'plugin.version' is not defined. |Specify this property using the scriptedLaunchOpts -D.""".stripMargin) }