Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
license-generator
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄营
license-generator
Commits
cd60d6a2
Commit
cd60d6a2
authored
Jan 14, 2024
by
hy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
2976ebf9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pom.xml
pom.xml
+1
-1
LicenseGeneratorTest.java
src/test/java/com/tbyf/license/LicenseGeneratorTest.java
+2
-2
No files found.
pom.xml
View file @
cd60d6a2
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<groupId>
com.tbyf.license
</groupId>
<groupId>
com.tbyf.license
</groupId>
<artifactId>
license-generator
</artifactId>
<artifactId>
license-generator
</artifactId>
<version>
1.0-SNAPSHOT
</version>
<version>
0.0.1
</version>
<properties>
<properties>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
...
...
src/test/java/com/tbyf/license/LicenseGeneratorTest.java
View file @
cd60d6a2
...
@@ -14,10 +14,10 @@ class LicenseGeneratorTest {
...
@@ -14,10 +14,10 @@ class LicenseGeneratorTest {
LicenseGenerator
licenseGenerator
=
new
LicenseGenerator
();
LicenseGenerator
licenseGenerator
=
new
LicenseGenerator
();
licenseGenerator
.
generate
(
licenseGenerator
.
generate
(
LicenseParams
.
builder
()
LicenseParams
.
builder
()
.
licensePath
(
"
hip
.lic"
)
.
licensePath
(
"
xyz
.lic"
)
.
validity
(
3
)
.
validity
(
3
)
// .expirationDate(toDate("2024-01-11 15:12:00"))
// .expirationDate(toDate("2024-01-11 15:12:00"))
.
MAC
(
"
00-50-56-C0-00-08
"
)
.
MAC
(
"
CC-F9-E4-97-CA-48,CC-F9-E4-97-CA-49, CC-F9-E4-97-CA-50
"
)
.
build
());
.
build
());
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment