Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .credentials

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: main

on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: olafurpg/setup-scala@v10
with:
# use Java 8
java-version: adopt@1.8
- name: Compile
run: sbt compile
env:
# NB: I'd like not to put this here but the sbt gh package plugin
# will error out if its not resolved
GITHUB_TOKEN: ${{ secrets.GH_PACKAGES_GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,6 @@ project/plugins/project/

*.sublime-project
*.sublime-workspace
*~
*~

sbt.json
4 changes: 4 additions & 0 deletions .sonatype_credentials
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
realm=Sonatype Nexus Repository Manager
host=oss.sonatype.org
user=rui-meetup
password=<REACTED>
48 changes: 0 additions & 48 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2016 Meetup, Inc.
Copyright (c) 2021 Meetup, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BUILDER_TAG = "meetup/sbt-builder:0.1.5"
BUILDER_TAG = "ghcr.io/meetup/sbt-builder:0.3.17"

CI_BUILD_NUMBER ?= $(USER)-SNAPSHOT
CI_IVY_CACHE ?= $(HOME)/.ivy2
Expand Down
11 changes: 5 additions & 6 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
enablePlugins(CommonSettingsPlugin)

name := "sbt-openapi"

organization := "com.meetup"
name := "sbt-openapi"

description := "Plugin for generating managed code from OpenAPI specifications"

sbtPlugin := true

scalaVersion := appConfiguration.value.provider.scalaProvider.version

libraryDependencies += "io.swagger" % "swagger-codegen" % "2.3.1"
libraryDependencies += "io.swagger" % "swagger-codegen" % "2.4.19"

licenses += ("MIT", url("http://opensource.org/licenses/MIT"))

bintrayOrganization in ThisBuild := Some("meetup")

// Add the default sonatype repository setting
publishTo := sonatypePublishTo.value
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.17
sbt.version=0.13.18
12 changes: 2 additions & 10 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,10 +1,2 @@
resolvers += Resolver.url(
"meetup-sbt-plugins",
new java.net.URL("https://dl.bintray.com/meetup/sbt-plugins/")
)(Resolver.ivyStylePatterns)

addSbtPlugin("com.meetup" % "sbt-plugins" % "0.3.38")

addSbtPlugin("com.eed3si9n" % "sbt-dirty-money" % "0.2.0")

addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0")
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
12 changes: 12 additions & 0 deletions soantype.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import xerial.sbt.Sonatype._

publishMavenStyle := true

sonatypeProfileName := "com.meetup"
sonatypeProjectHosting := Some(GitHubHosting(user="meetup", repository="sbt-openapi", email="engineering@meetup.com"))
developers := List(
Developer(id = "meetup", name = "Meetup Developer", email = "engineering@meetup.com", url = url("https://www.meetup.com"))
)
licenses := Seq("MIT" -> url("https://mit-license.org/"))

publishTo := sonatypePublishTo.value