diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be2b5b7..20b8831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,6 +28,8 @@ jobs: exclude: - java: temurin@8 os: macos-latest + - java: temurin@17 + os: windows-latest runs-on: ${{ matrix.os }} steps: - name: Ignore line ending differences in git diff --git a/README.md b/README.md index 2ec4cbc..55adf47 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -![Scala CI](https://github.com/flyway/flyway-sbt/workflows/Scala%20CI/badge.svg) +![CI](https://github.com/sbt/flyway-sbt/workflows/CI/badge.svg) [![Maven Central](https://img.shields.io/maven-central/v/io.github.davidmweber/flyway-sbt.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.davidmweber%22%20AND%20a%3A%22flyway-sbt%22) ## Sbt 1.x plugin for [Flyway](https://flywaydb.org) @@ -12,11 +12,6 @@ version 4.2.1. ## Maintenance This repository is a community project and not officially maintained by the Flyway Team at Redgate. This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance. -Community Maintainers: -- [@davidmweber](https://github.com/davidmweber) - -If you would like to be named as an Community Maintainer, let us know via Twitter: https://twitter.com/flywaydb. - ### Getting started Adding Flyway to your build is very easy. First, update to your `project/plugin.sbt` file to include: @@ -69,7 +64,7 @@ sbt scripted Early adopters should just publish a clone or fork of this repository locally: ```bash -git clone https://github.com/flyway/flyway-sbt.git +git clone https://github.com/sbt/flyway-sbt.git cd flyway-sbt sbt publishLocal ``` diff --git a/build.sbt b/build.sbt index d4932cb..a9c4120 100644 --- a/build.sbt +++ b/build.sbt @@ -1,4 +1,5 @@ -val flywayVersion = "9.22.0" +lazy val repoSlug = "sbt/flyway-sbt" +lazy val flywayVersion = "9.22.0" ThisBuild / organization := "com.github.sbt" ThisBuild / version := { @@ -40,10 +41,18 @@ lazy val root = (project in file (".")) publishMavenStyle := true, ) +ThisBuild / description := "An sbt plugin for Flyway database migration" ThisBuild / developers := List( Developer(id="davidmweber", name="David Weber", email="dave@veryflatcat.com", url=url("https://davidmweber.github.io/flyway-sbt-docs/")) ) -ThisBuild / licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) +ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")) +ThisBuild / scmInfo := Some( + ScmInfo( + url(s"https://github.com/$repoSlug"), + s"scm:git@github.com:sbt/$repoSlug.git" + ) +) +ThisBuild / homepage := Some(url(s"https://github.com/$repoSlug")) ThisBuild / publishTo := sonatypePublishTo.value ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "scripted"))) ThisBuild / githubWorkflowTargetTags ++= Seq("v*") @@ -66,4 +75,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq( JavaSpec.temurin("8"), JavaSpec.temurin("17") ) -ThisBuild / githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")) +ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq( + MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")), + MatrixExclude(Map("java" -> "temurin@17", "os" -> "windows-latest")), +)