Skip to content

Commit

Permalink
Merge pull request #1 from LenKIM/main
Browse files Browse the repository at this point in the history
setting Clocks Release
  • Loading branch information
LenKIM authored Oct 7, 2022
2 parents 0b35071 + 934a335 commit a8a0104
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 27 deletions.
33 changes: 33 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
allprojects {
version = "1.0.0"
group = 'com.masil.commons'

repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}

subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'

sourceCompatibility = 1.8
targetCompatibility = 1.8

java {
withSourcesJar()
withJavadocJar()
}

publishing {
publications {
maven(MavenPublication) {
groupId project.group
artifactId project.name
version project.version
from components.java
}
}
}
}
14 changes: 1 addition & 13 deletions clocks-frozen/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
plugins {
id 'java-library'
// id 'maven-publish'
id 'maven-publish'
}

repositories {
mavenCentral()
}

version = '1.0.0'
group = 'com.masil.commons'

tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.encoding = "UTF-8"
}

dependencies {
implementation(project(":clocks"))
Expand Down
15 changes: 1 addition & 14 deletions clocks/build.gradle
Original file line number Diff line number Diff line change
@@ -1,19 +1,6 @@
plugins {
id 'java-library'
// id 'maven-publish'
}

repositories {
mavenCentral()
}

version = '1.0.0'
group = 'com.masil.commons'

tasks.withType(JavaCompile) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.encoding = "UTF-8"
id 'maven-publish'
}

dependencies {
Expand Down

0 comments on commit a8a0104

Please sign in to comment.