Skip to content
This repository has been archived by the owner on Jan 13, 2022. It is now read-only.

Commit

Permalink
Setup for maven builds
Browse files Browse the repository at this point in the history
  • Loading branch information
MB3hel committed Jan 12, 2019
1 parent 16acecd commit 8ca8619
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>ADIS16448_IMU</name>
<comment>Project ADIS16448-RoboRIO-Driver created by Buildship.</comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "disabled"
}
3 changes: 1 addition & 2 deletions C++/build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
plugins {
id "cpp"
id "google-test-test-suite"
id 'maven-publish'
id "edu.wpi.first.GradleRIO" version "2019.1.1"
id 'maven'
}

def includeSrcInIncludeRoot = false
Expand Down
2 changes: 1 addition & 1 deletion C++/src/main/cpp/ADIS16448_IMU.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include <frc/DigitalInput.h>
#include <frc/SPI.h>
#include <frc/ErrorBase.h>
#include <ADIS16448_IMU.h>
#include <adi/ADIS16448_IMU.h>
#include <frc/smartdashboard/SendableBuilder.h>
#include <frc/Timer.h>
#include <frc/WPIErrors.h>
Expand Down
6 changes: 6 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
allprojects {
apply plugin: 'maven-publish'
repositories {
mavenCentral()
}
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 6 additions & 0 deletions C++/settings.gradle → settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ pluginManagement {
}
}
}


rootProject.name = 'ADIS16448_IMU'

include 'Java'
include 'C++'

0 comments on commit 8ca8619

Please sign in to comment.