Skip to content

Commit dfebd52

Browse files
authored
Garmin FIT SDK 21.194.0
Garmin FIT SDK 21.194.0
2 parents 2c9642c + 082a4d9 commit dfebd52

File tree

527 files changed

+85555
-84738
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

527 files changed

+85555
-84738
lines changed

.DS_Store

-6 KB
Binary file not shown.

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,35 @@ The FIT SDK documentation is available at [https://developer.garmin.com/fit](htt
55
## FIT SDK Developer Forum
66
Share your knowledge, ask questions, and get the latest FIT SDK news in the [FIT SDK Developer Forum](https://forums.garmin.com/developer/).
77

8+
## FIT Java SDK Requirements
9+
The FIT Java SDK requires the [Oracle Java Runtime Environment 8](https://www.java.com/en/download/) version 1.8.0 or higher, or equivalent in order to run the SDK tools.
10+
11+
In order to build or develop with the FIT Java SDK, the [Oracle Java SE 8 JDK](https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html) higher, or equivalent is required.
12+
813
## Install
9-
The latest version of the SDK can be installed from [Maven Central Repository](https://central.sonatype.com/artifact/com.garmin/fit/21.120.0)
14+
The FIT Java SDK is published to [Maven Central Repository](https://central.sonatype.com/artifact/com.garmin/fit) and can be added to a project as a dependency.
1015
```xml
1116
<dependency>
1217
<groupId>com.garmin</groupId>
1318
<artifactId>fit</artifactId>
14-
<version>[21.120.0,)</version>
19+
<version>[21.176.0,)</version>
1520
</dependency>
1621
```
1722

23+
## Building Java Tools
24+
The FIT Java SDK pom.xml file provides multiple profiles for building tools locally, such as the [FIT CSV Tool](https://developer.garmin.com/fit/fitcsvtool/).
25+
26+
In order to build the FIT Java SDK or its tools locally, [Apache Maven](https://maven.apache.org/what-is-maven.html) must be installed.
27+
28+
From the java directory, or if using custom directory names the directory containing the pom.xml file, execute the following command(s) to build the FIT Java SDK and the FIT CSV Tool. Use the -P option to only build the packages that are required.
29+
30+
```sh
31+
$ mvn package -Pfitsdk # Build the FIT Java SDK
32+
$ mvn package -Pfitcsvtool # Build the FIT CSV Tool
33+
$ mvn package -Pfitsdk,fitcsvtool # Build both the SDK and FIT CSV Tool
34+
```
35+
36+
1837
## FIT SDK Cookbook
1938
The [FIT SDK Cookbook](https://developer.garmin.com/fit/cookbook/) contains examples of using the FIT SDK to solve real-world problems. There are recipes for encoding and decoding Activity, Workout, and Course files; and recipes that provide tips for working with the FIT SDK.
2039

0 commit comments

Comments
 (0)