Skip to content

Commit 48c9668

Browse files
committed
Setup gradle + kryonet.
1 parent a9e53e6 commit 48c9668

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Nothing here.
1+
Nothing here, except this:
2+
https://github.com/EsotericSoftware/kryonet

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ buildscript {
1818
apply plugin: 'forge'
1919

2020
version = "1.0"
21-
group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
22-
archivesBaseName = "modid"
21+
group= "net.gliby.minecraft" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
22+
archivesBaseName = "glibyudp"
2323

2424
minecraft {
2525
version = "1.8-11.14.3.1450"
@@ -34,6 +34,7 @@ minecraft {
3434
}
3535

3636
dependencies {
37+
compile 'com.esotericsoftware:kryonet:2.22.0-RC1'
3738
// you may put jars on which you depend on in ./libs
3839
// or you may define them like so..
3940
//compile "some.group:artifact:version:classifier"
@@ -49,6 +50,10 @@ dependencies {
4950

5051
}
5152

53+
jar {
54+
from configurations.compile.collect { zipTree it}
55+
}
56+
5257
processResources
5358
{
5459
// this will ensure that this task is redone when the versions change.

src/main/java/net/gliby/minecraft/udp/UDP.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
* A simple UDP implementation for Minecraft.
2222
*
2323
*/
24-
//TODO Setup gradle.
25-
//TODO Add kryonet to gradle.
24+
//TODO Get stuff working.
2625
@Mod(name = UDP.NAME, modid = UDP.MODID, version = UDP.VERSION)
2726
public class UDP {
2827

0 commit comments

Comments
 (0)