Update sbt-apache-sonatype and handle rename
This commit is contained in:
parent
5dbc32b552
commit
7809c78388
3 changed files with 8 additions and 8 deletions
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
import sbt.Keys._
|
||||
import sbt._
|
||||
import org.mdedetrich.apache.sonatype.SonatypeApachePlugin
|
||||
import org.mdedetrich.apache.sonatype.SonatypeApachePlugin.autoImport._
|
||||
import org.mdedetrich.apache.sonatype.ApacheSonatypePlugin
|
||||
import org.mdedetrich.apache.sonatype.ApacheSonatypePlugin.autoImport._
|
||||
|
||||
/**
|
||||
* Copies LICENSE and NOTICE files into jar META-INF dir
|
||||
|
|
@ -53,7 +53,7 @@ object AddMetaInfLicenseFiles extends AutoPlugin {
|
|||
resourceGenerators += {
|
||||
Def.task {
|
||||
List(
|
||||
SonatypeApachePlugin.addFileToMetaInf(resourceManaged.value, baseDir.value / "COPYING.protobuf"))
|
||||
ApacheSonatypePlugin.addFileToMetaInf(resourceManaged.value, baseDir.value / "COPYING.protobuf"))
|
||||
}
|
||||
}))
|
||||
|
||||
|
|
@ -67,11 +67,11 @@ object AddMetaInfLicenseFiles extends AutoPlugin {
|
|||
resourceGenerators += {
|
||||
Def.task {
|
||||
List(
|
||||
SonatypeApachePlugin.addFileToMetaInf(resourceManaged.value, baseDir.value / "COPYING.protobuf"))
|
||||
ApacheSonatypePlugin.addFileToMetaInf(resourceManaged.value, baseDir.value / "COPYING.protobuf"))
|
||||
}
|
||||
}))
|
||||
|
||||
override def trigger = allRequirements
|
||||
|
||||
override def requires = SonatypeApachePlugin
|
||||
override def requires = ApacheSonatypePlugin
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue