Skip to content

Commit 3c66684

Browse files
committed
Release v2.0.0
1 parent 061f5db commit 3c66684

25 files changed

Lines changed: 86 additions & 111 deletions

README.md

Lines changed: 50 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,50 @@
1-
# DriveCommand
2-
A general library which enables robots and devices to communicate each other through same interface.
3-
4-
## Available Communication
5-
* Android <-> LEGO MINDSTORMS NXT
6-
* Android <-> LEGO MINDSTORMS EV3
7-
* Android <-> Pile Original Robot
8-
9-
## Build
10-
11-
```
12-
# Linux/Mac
13-
./gradlew build
14-
# Windows
15-
./gradlew.bat build
16-
```
17-
18-
## Run Test and Generate Javadoc
19-
20-
```
21-
# Linux/Mac
22-
./gradlew test
23-
./gradlew javadoc
24-
25-
# Windows
26-
./gradlew.bat test
27-
./gradlew.bat javadoc
28-
```
29-
30-
Test reports are generated in build/reports/tests (See index.html)
31-
32-
Javadocs are generated in build/docs/javadoc (See index.html)
33-
1+
# DriveCommand
2+
A general library which enables robots and devices to communicate each other through same interface.
3+
4+
## Available Communication
5+
* Android <-> LEGO MINDSTORMS NXT
6+
* Android <-> LEGO MINDSTORMS EV3
7+
* Android <-> Pile Original Robot
8+
9+
## How to use
10+
### From gradle
11+
12+
in your `build.gradle`
13+
```
14+
repositories {
15+
maven { url 'http://pileproject.github.io/drivecommand/' }
16+
}
17+
18+
dependencies {
19+
compile 'com.pileproject:drivecommand:VERSION'
20+
}
21+
```
22+
23+
### From jar file
24+
See below
25+
26+
## Build
27+
28+
```
29+
# Linux/Mac
30+
./gradlew build
31+
# Windows
32+
./gradlew.bat build
33+
```
34+
35+
## Run Test and Generate Javadoc
36+
37+
```
38+
# Linux/Mac
39+
./gradlew test
40+
./gradlew javadoc
41+
42+
# Windows
43+
./gradlew.bat test
44+
./gradlew.bat javadoc
45+
```
46+
47+
Test reports are generated in build/reports/tests (See index.html)
48+
49+
Javadocs are generated in build/docs/javadoc (See index.html)
50+

build.gradle

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,27 @@ task wraper(type: Wrapper) {
4646

4747

4848
// Maven repository identity setting
49-
group = 'com.pileproject.drivecommand'
50-
archivesBaseName = 'drivecommand'
51-
version = '1.0.1'
52-
5349
uploadArchives {
5450
repositories {
5551
mavenDeployer {
56-
repository(url: "file:${projectDir}")
57-
}
58-
}
59-
}
52+
repository url: "file:${projectDir}"
53+
54+
pom.version = '2.0.0'
55+
pom.groupId = 'com.pileproject'
56+
pom.artifactId = 'drivecommand'
6057

61-
[install.repositories.mavenInstaller, uploadArchives.repositories.mavenDeployer]*.pom*.whenConfigured { pom ->
62-
pom.project {
63-
inceptionYear '2013'
64-
packaging 'jar'
65-
licenses {
66-
license {
67-
name 'The Apache Software License, Version 2.0'
68-
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
69-
distribution 'repo'
58+
pom.project {
59+
inceptionYear '2013'
60+
packaging 'jar'
61+
licenses {
62+
license {
63+
name 'The Apache Software License, Version 2.0'
64+
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
65+
distribution 'repo'
66+
}
67+
}
7068
}
7169
}
7270
}
7371
}
72+
69 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2e4c094df7049db012048553456263a1
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
75ca794ec812c95e1a31a46528051a190c14d720

com/pileproject/drivecommand/drivecommand/1.0.1/drivecommand-1.0.1.pom renamed to com/pileproject/drivecommand/2.0.0/drivecommand-2.0.0.pom

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
44
<modelVersion>4.0.0</modelVersion>
5-
<groupId>com.pileproject.drivecommand</groupId>
5+
<groupId>com.pileproject</groupId>
66
<artifactId>drivecommand</artifactId>
7-
<version>1.0.1</version>
7+
<version>2.0.0</version>
88
<inceptionYear>2013</inceptionYear>
99
<licenses>
1010
<license>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a44400682c6f0522baccb5acb316cd06
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
a869115a63afac52d458f9313a889160c903a4a3
Binary file not shown.

com/pileproject/drivecommand/drivecommand/1.0.0/drivecommand-1.0.0.jar.md5

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)