Skip to content

Commit

Permalink
Merge pull request #4 from spacey-sooty/datalogreader-to-wpiutil
Browse files Browse the repository at this point in the history
Add gradle build
  • Loading branch information
DeltaDizzy authored Jan 9, 2025
2 parents 861d227 + cd0a384 commit 8669810
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 3 deletions.
27 changes: 27 additions & 0 deletions libdatalog/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ext {
useJava = true
useCpp = true
baseId = 'libdatalog'
groupId = 'edu.wpi.first.datalog'

nativeName = 'libdatalog'
devMain = 'edu.wpi.first.math.DevMain'
}

apply from: "${rootDir}/shared/jni/setupBuild.gradle"

model {
components {
all {
it.sources.each {
it.exportedHeaders {
srcDirs 'src/main/native/include'
}
}
}
}
}

dependencies {
api project(":wpiutil")
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.

package edu.wpi.first.util.datalog;
package edu.wpi.first.datalog;

import edu.wpi.first.util.WPIUtilJNI;
import edu.wpi.first.util.protobuf.Protobuf;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

package edu.wpi.first.datalog;

import edu.wpi.first.datalog.DataLog;

/**
* A class version of `tail -f`, otherwise known as `tail -f` at home. Watches a file and puts the
* data into a data log. Only works on Linux-based platforms.
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ include 'epilogue-runtime'
include 'thirdparty:googletest'
include 'thirdparty:imgui_suite'
include 'wpical'
include 'libdatalog'

buildCache {
def cred = {
Expand Down

0 comments on commit 8669810

Please sign in to comment.