-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
52 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
package akka.grpc | ||
|
||
import sbt._, Keys._ | ||
|
||
/** | ||
* For projects that are not to be published. | ||
*/ | ||
object NoPublish extends AutoPlugin { | ||
override def requires = plugins.JvmPlugin | ||
|
||
override def projectSettings = Seq( | ||
publishArtifact := false, | ||
publish := {}, | ||
publishLocal := {}, | ||
skip in publish := true, | ||
) | ||
} | ||
|
||
object Publish extends AutoPlugin { | ||
import bintray.BintrayPlugin | ||
import bintray.BintrayPlugin.autoImport._ | ||
|
||
override def trigger = allRequirements | ||
override def requires = BintrayPlugin | ||
|
||
override def projectSettings = Seq( | ||
bintrayOrganization := Some("akka"), | ||
bintrayPackage := "akka-grpc", | ||
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters