-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README.md, dependencies and organize project
Bumped version to 1.1
- Loading branch information
Showing
11 changed files
with
43 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,4 @@ | ||
## Java | ||
*.class | ||
*.war | ||
*.ear | ||
hs_err_pid* | ||
|
||
## Eclipse | ||
.classpath | ||
.project | ||
.metadata | ||
**/bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.externalToolBuilders/ | ||
*.launch | ||
|
||
## NetBeans | ||
**/nbproject/private/ | ||
build/ | ||
nbbuild/ | ||
dist/ | ||
nbdist/ | ||
nbactions.xml | ||
nb-configuration.xml | ||
|
||
## Gradle | ||
.gradle | ||
build/ | ||
|
||
## OS Specific | ||
.DS_Store | ||
/bin | ||
.idea/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,33 @@ | ||
// Apply the java plugin to add support for Java | ||
apply plugin: 'java' | ||
apply plugin: 'eclipse' | ||
apply plugin: 'idea' | ||
apply plugin: 'application' | ||
|
||
// In this section you declare where to find the dependencies of your project | ||
repositories { | ||
// Use 'maven central' for resolving your dependencies. | ||
// You can declare any Maven/Ivy/file repository here. | ||
mavenCentral() | ||
jcenter() | ||
} | ||
|
||
sourceSets { | ||
main { | ||
java { | ||
srcDirs = ["src"] | ||
} | ||
} | ||
} | ||
|
||
// In this section you declare the dependencies for your production and test code | ||
dependencies { | ||
compile('com.pi4j:pi4j-core:0.0.5') { | ||
compile('com.pi4j:pi4j-core:1.1') { | ||
exclude module: 'pi4j-native' | ||
} | ||
compile('com.pi4j:pi4j-device:0.0.5') { | ||
compile('com.pi4j:pi4j-device:1.1') { | ||
exclude module: 'pi4j-native' | ||
} | ||
compile('com.pi4j:pi4j-gpio-extension:0.0.5') { | ||
compile('com.pi4j:pi4j-gpio-extension:1.1') { | ||
exclude module: 'pi4j-native' | ||
} | ||
|
||
//compile fileTree(dir: 'libs', include: '*.jar') | ||
|
||
// The production code uses the SLF4J logging API at compile time | ||
//compile 'org.slf4j:slf4j-api:1.7.5' | ||
|
||
// Declare the dependency for your favourite test framework you want to use in your tests. | ||
// TestNG is also supported by the Gradle Test task. Just change the | ||
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add | ||
// 'test.useTestNG()' to your build script. | ||
//testCompile "junit:junit:4.11" | ||
} | ||
|
||
sourceCompatibility = 1.7 | ||
targetCompatibility = 1.7 | ||
|
||
// http://www.gradle.org/docs/current/userguide/application_plugin.html | ||
mainClassName = "com.traviswyatt.pi.adxl345.Main" | ||
|
||
jar { | ||
baseName = 'adxl345' | ||
version = '1.0' | ||
version = '1.1' | ||
|
||
manifest { | ||
attributes 'Main-Class': mainClassName | ||
} | ||
} | ||
|
||
tasks.eclipse.doLast { | ||
delete ".project" | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 4 additions & 3 deletions
7
src/com/traviswyatt/pi/adxl345/Main.java → ...java/com/traviswyatt/pi/adxl345/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.