Skip to content

Commit a8a0104

Browse files
authored
Merge pull request #1 from LenKIM/main
setting Clocks Release
2 parents 0b35071 + 934a335 commit a8a0104

File tree

3 files changed

+35
-27
lines changed

3 files changed

+35
-27
lines changed

build.gradle

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
allprojects {
2+
version = "1.0.0"
3+
group = 'com.masil.commons'
4+
5+
repositories {
6+
mavenCentral()
7+
maven { url 'https://jitpack.io' }
8+
}
9+
}
10+
11+
subprojects {
12+
apply plugin: 'java'
13+
apply plugin: 'maven-publish'
14+
15+
sourceCompatibility = 1.8
16+
targetCompatibility = 1.8
17+
18+
java {
19+
withSourcesJar()
20+
withJavadocJar()
21+
}
22+
23+
publishing {
24+
publications {
25+
maven(MavenPublication) {
26+
groupId project.group
27+
artifactId project.name
28+
version project.version
29+
from components.java
30+
}
31+
}
32+
}
33+
}

clocks-frozen/build.gradle

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,8 @@
11
plugins {
22
id 'java-library'
3-
// id 'maven-publish'
3+
id 'maven-publish'
44
}
55

6-
repositories {
7-
mavenCentral()
8-
}
9-
10-
version = '1.0.0'
11-
group = 'com.masil.commons'
12-
13-
tasks.withType(JavaCompile) {
14-
sourceCompatibility = "1.8"
15-
targetCompatibility = "1.8"
16-
options.encoding = "UTF-8"
17-
}
186

197
dependencies {
208
implementation(project(":clocks"))

clocks/build.gradle

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,6 @@
11
plugins {
22
id 'java-library'
3-
// id 'maven-publish'
4-
}
5-
6-
repositories {
7-
mavenCentral()
8-
}
9-
10-
version = '1.0.0'
11-
group = 'com.masil.commons'
12-
13-
tasks.withType(JavaCompile) {
14-
sourceCompatibility = "1.8"
15-
targetCompatibility = "1.8"
16-
options.encoding = "UTF-8"
3+
id 'maven-publish'
174
}
185

196
dependencies {

0 commit comments

Comments
 (0)