Skip to content

Commit 4b39641

Browse files
committed
Add copyright info
1 parent 818f33a commit 4b39641

159 files changed

Lines changed: 639 additions & 1 deletion

File tree

Some content is hidden

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

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 Triple Helix
3+
Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

build.gradle

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ plugins {
88
id 'application'
99
id 'com.gradleup.shadow' version '8.3.5'
1010
id 'jacoco'
11+
id 'com.github.hierynomus.license' version '0.16.1'
1112
}
1213

1314
group = 'org.triplehelix'
@@ -18,6 +19,17 @@ java {
1819
targetCompatibility = JavaVersion.VERSION_17
1920
}
2021

22+
license {
23+
header = file('gradle/license-header.txt')
24+
include '**/*.java'
25+
exclude '**/Version.java' // Generated file
26+
ext.year = Calendar.getInstance().get(Calendar.YEAR)
27+
skipExistingHeaders = true
28+
mapping {
29+
java = 'SLASHSTAR_STYLE'
30+
}
31+
}
32+
2133
// Generate Version.java from the Gradle project version — single source of truth.
2234
// The generated file goes to build/generated/sources so it doesn't conflict with src/.
2335
def generatedSrcDir = file("${buildDir}/generated/sources/version/java")

gradle/license-header.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Copyright (c) ${year} Christopher Larrieu and Triple Helix Robotics
2+
SPDX-License-Identifier: MIT

src/main/java/edu/wpi/first/util/datalog/DataLogAccess.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package edu.wpi.first.util.datalog;
26

37
/**

src/main/java/org/triplehelix/wpilogmcp/Main.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp;
26

37
import java.io.IOException;

src/main/java/org/triplehelix/wpilogmcp/cache/CacheDirectory.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp.cache;
26

37
import java.io.IOException;

src/main/java/org/triplehelix/wpilogmcp/cache/CacheMetadata.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp.cache;
26

37
import java.io.IOException;

src/main/java/org/triplehelix/wpilogmcp/cache/ContentFingerprint.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp.cache;
26

37
import java.io.IOException;

src/main/java/org/triplehelix/wpilogmcp/cache/DiskCache.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp.cache;
26

37
import java.io.IOException;

src/main/java/org/triplehelix/wpilogmcp/cache/DiskCacheSerializer.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* Copyright (c) 2026 Christopher Larrieu and Triple Helix Robotics
3+
* SPDX-License-Identifier: MIT
4+
*/
15
package org.triplehelix.wpilogmcp.cache;
26

37
import java.io.BufferedInputStream;

0 commit comments

Comments
 (0)