Skip to content

Instantly share code, notes, and snippets.

View alexgtn's full-sized avatar

Alex Gutan alexgtn

View GitHub Profile
@alexgtn
alexgtn / .gitlab-ci.yml
Last active December 6, 2020 10:40
Simple Gitlab CI config (VueJS tests and deploy to Heroku)
image: node:15
stages:
- test
- deploy
test:
stage: test
script:
- yarn install
@alexgtn
alexgtn / gradle-kotlin-publish-s3-maven-repo.gradle
Created March 4, 2019 11:40 — forked from outofcoffee/gradle-kotlin-publish-s3-maven-repo.gradle
Publish a Kotlin module to an S3 Maven repository, using Gradle.
/*
* 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()
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;