Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 85041e0

Browse files
Merge pull request #7 from OpenEdgn/dev
优化项目结构.
2 parents 97a0873 + 72f007c commit 85041e0

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

build.gradle.kts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,22 @@ tasks.test {
2121
}
2222
}
2323

24-
2524
repositories {
2625
mavenLocal()
2726
jcenter()
2827
mavenCentral()
2928
maven { url = project.uri("https://jitpack.io") }
3029
}
30+
publishing {
31+
publications {
32+
create<MavenPublication>("maven") {
33+
groupId = group.toString()
34+
artifactId = project.name
35+
version = rootProject.version.toString()
36+
from(components["java"])
37+
}
38+
}
39+
repositories {
40+
mavenLocal()
41+
}
42+
}

src/main/kotlin/com/github/open_edgn/data/format/StringFillUtils.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import java.util.regex.Pattern
44

55
/**
66
* 字符串占位符替换方案
7-
*
87
*/
98
object StringFillUtils {
109
private val regex = Regex("%\\{.+?}")
@@ -43,6 +42,4 @@ object StringFillUtils {
4342
keySkipItem.clear()
4443
return container.toString()
4544
}
46-
47-
4845
}

0 commit comments

Comments
 (0)