Skip to content

Commit 98fe7e1

Browse files
committed
release v1.2
1 parent d712ce6 commit 98fe7e1

File tree

2 files changed

+14
-33
lines changed

2 files changed

+14
-33
lines changed

README.md

Lines changed: 13 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# clarity
22

3-
Comically fast, almost complete Dota 2 "demo" (aka "replay") parser written in java.
3+
Comically fast, almost complete Dota 2 "demo" (aka "replay") parser written in java.
4+
5+
### Note
6+
7+
This is the README for version 1 of the library, so you might wanna check out
8+
[version 2](https://github.com/skadistats/clarity).
9+
10+
### Upgrading from an earlier 1.x
11+
The protobuf-classes used by clarity have been factored out into a separate project, to make reuse among
12+
v1 and v2 possible. While doing that I also moved them to another package, so when you want to move to 1.2
13+
you might have to adjust a lot of imports. A global search and replace from `com.dota2.proto.` to
14+
`skadistats.clarity.wire.proto.` on your whole project should do the trick.
415

516
# Replay Data
617

@@ -63,37 +74,7 @@ To use the stable version, add the following dependency in your pom.xml, and you
6374
<dependency>
6475
<groupId>com.skadistats</groupId>
6576
<artifactId>clarity</artifactId>
66-
<version>1.1</version>
67-
</dependency>
68-
```
69-
70-
There is also the possibility to use the bleeding edge, which I try to keep in sync with the Git-Repo.
71-
However, this latest snapshot is not available in Maven Central, so you got to add a pointer to the
72-
repository to your pom.xml (see the [pom.xml of clarity-examples](https://github.com/skadistats/clarity-examples/blob/v1/pom.xml), which already does that)
73-
74-
To add the snapshot repository, add the following:
75-
```XML
76-
<repositories>
77-
<repository>
78-
<id>sonatype.oss.snapshots</id>
79-
<name>Sonatype OSS Snapshot Repository</name>
80-
<url>http://oss.sonatype.org/content/repositories/snapshots</url>
81-
<releases>
82-
<enabled>false</enabled>
83-
</releases>
84-
<snapshots>
85-
<enabled>true</enabled>
86-
</snapshots>
87-
</repository>
88-
</repositories>
89-
```
90-
91-
and then fetch the dependency with:
92-
```XML
93-
<dependency>
94-
<groupId>com.skadistats</groupId>
95-
<artifactId>clarity</artifactId>
96-
<version>1.2-SNAPSHOT</version>
77+
<version>1.2</version>
9778
</dependency>
9879
```
9980

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>com.skadistats</groupId>
44
<artifactId>clarity</artifactId>
5-
<version>1.2-SNAPSHOT</version>
5+
<version>1.2</version>
66
<packaging>jar</packaging>
77
<name>clarity</name>
88
<description>Clarity is a fast, almost complete replay parser for Dota 2.</description>

0 commit comments

Comments
 (0)