Skip to content

Commit

Permalink
Renamed to wetcat package
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Göransson committed Mar 21, 2015
1 parent a3f46bf commit 271b57a
Show file tree
Hide file tree
Showing 29 changed files with 87 additions and 54 deletions.
Binary file modified .gradle/2.1/taskArtifacts/cache.properties.lock
Binary file not shown.
Binary file modified .gradle/2.1/taskArtifacts/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/2.1/taskArtifacts/fileSnapshots.bin
Binary file not shown.
Binary file modified .gradle/2.1/taskArtifacts/outputFileStates.bin
Binary file not shown.
Binary file modified .gradle/2.1/taskArtifacts/taskArtifacts.bin
Binary file not shown.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1 +1,18 @@
language: java
jdk: oraclejdk7

env:
global:
- LIB_FILE=/home/travis/build/build/libs/qatja.jar

deploy:
provider: releases
api_key:
secure: qMXfuiHiTILfMxHtrqkdsjyX74/YXKKzjM5ej+XLv85B0td3qyT9ogu1rD97zw41UIkwsGLcvH0ZqFJ448zddC5nNDOx3M0Spi/GKbmg5xNnCuLxg1k9URnLqdGbnTbxzhO7k/R09sMFH3EmoYNRNLIvHSFG1sUqvzUJbG40d9I=
file: $LIB_FILE
on:
repo: Qatja/Qatja
tags: true

script:
- ./gradlew clean compileJava jar
29 changes: 21 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
apply plugin: 'java'
//apply plugin: 'maven'

version = '1.0'
version = 'v0.1.1-alpha'

sourceCompatibility = 1.5

//create a single Jar with all dependencies
task fatJar(type: Jar) {
jar {
archiveName = "qatja.jar"

manifest {
attributes 'Implementation-Title': 'Qatja', 'Implementation-Version': version
attributes("Implementation-Title": "Gradle", "Implementation-Version": version)
}
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}

repositories {
Expand All @@ -22,4 +21,18 @@ dependencies {
compile 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'

testCompile group: 'junit', name: 'junit', version: '4.11'
}
}

/*
uploadArchives {
repositories.mavenDeployer {
def deployPath = file(getProperty('aar.deployPath'))
repository(url: "file://${deployPath.absolutePath}")
pom.project {
groupId 'se.wetcat'
artifactId 'qatja'
version "1.0.0"
}
}
}
*/
2 changes: 2 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
v0.1.0-alpha Initial build
v0.1.1-alpha Added Github releases build
1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
rootProject.name = 'Qatja'

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja;
package se.wetcat.qatja;


/*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja;
package se.wetcat.qatja;

/*
* Copyright (C) 2012 Andreas Goransson, David Cuartielles
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja;
package se.wetcat.qatja;

/*
* Copyright (C) 2014 Andreas Goransson
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja;
package se.wetcat.qatja;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -17,7 +17,7 @@
*/

import org.mozilla.universalchardet.UniversalDetector;
import se.goransson.qatja.messages.MQTTMessage;
import se.wetcat.qatja.messages.MQTTMessage;

/**
* Helper methods for MQTT
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja;
package se.wetcat.qatja;

/*
* Copyright (C) 2012 Andreas Goransson, David Cuartielles
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.wetcat.qatja.MQTTException;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.wetcat.qatja.MQTTException;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2012 Andreas Goransson, David Cuartielles
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.*;
import se.wetcat.qatja.*;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.wetcat.qatja.MQTTException;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.wetcat.qatja.MQTTException;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,9 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTConstants;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand All @@ -33,7 +34,7 @@
public class MQTTPubcomp extends MQTTMessage {

public MQTTPubcomp(int packageIdentifier) {
setType(PUBCOMP);
setType(MQTTConstants.PUBCOMP);
setPackageIdentifier(packageIdentifier);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,9 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTConstants;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand All @@ -38,7 +39,7 @@ public class MQTTPubrec extends MQTTMessage {
* the package identifier
*/
public MQTTPubrec(int packageIdentifier) {
setType(PUBREC);
setType(MQTTConstants.PUBREC);
setPackageIdentifier(packageIdentifier);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,7 +16,7 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.wetcat.qatja.MQTTException;

import java.io.IOException;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

/*
* Copyright (C) 2014 Andreas Goransson
Expand All @@ -16,8 +16,8 @@
* limitations under the License.
*/

import se.goransson.qatja.MQTTException;
import se.goransson.qatja.MQTTHelper;
import se.wetcat.qatja.MQTTException;
import se.wetcat.qatja.MQTTHelper;

import java.io.ByteArrayOutputStream;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package se.goransson.qatja.messages;
package se.wetcat.qatja.messages;

import junit.framework.TestCase;

Expand Down

0 comments on commit 271b57a

Please sign in to comment.