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
image: node:15 | |
stages: | |
- test | |
- deploy | |
test: | |
stage: test | |
script: | |
- yarn install |
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
/* | |
* Publish a Kotlin module to an S3 Maven repository, using Gradle. | |
* This assumes that the AWS/IAM credentials have 'bucket list' as well as 'object put' and 'object get' permissions. | |
*/ | |
ext.version_kotlin = '1.0.5-2' | |
buildscript { | |
repositories { | |
mavenCentral() |
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
package io.vertx.mqtt.test.server; | |
import io.netty.handler.codec.mqtt.MqttQoS; | |
import io.vertx.core.Vertx; | |
import io.vertx.core.logging.Logger; | |
import io.vertx.core.logging.LoggerFactory; | |
import io.vertx.ext.unit.TestContext; | |
import io.vertx.ext.unit.junit.VertxUnitRunner; | |
import io.vertx.mqtt.MqttEndpoint; | |
import io.vertx.mqtt.MqttServer; |