Skip to content

Commit

Permalink
maven
Browse files Browse the repository at this point in the history
  • Loading branch information
yhyzgn committed May 12, 2023
1 parent 11008de commit 77073cb
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 2 deletions.
19 changes: 18 additions & 1 deletion router-annotation/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java-library'
id 'maven-publish'
}

group = 'com.github.yhyzgn.EasyRouter'
Expand All @@ -12,4 +13,20 @@ targetCompatibility = "17"

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

publishing {
publications {
maven(MavenPublication) {
groupId = "${group}"
artifactId = "router-annotation"
version = "2.0.6"
}
}
// 发布的仓库配置
repositories {
maven {
url "https://jitpack.io"
}
}
}
18 changes: 18 additions & 0 deletions router-compiler/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'java-library'
id 'maven-publish'
}

group = 'com.github.yhyzgn.EasyRouter'
Expand All @@ -21,3 +22,20 @@ targetCompatibility = "17"
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}

publishing {
publications {
maven(MavenPublication) {
groupId = "${group}"
artifactId = "router-compiler"
version = "2.0.6"
}
}
// 发布的仓库配置
repositories {
maven {
url "https://jitpack.io"
}
}
}

19 changes: 18 additions & 1 deletion router/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
id 'com.android.library'
id 'maven-publish'
}

group = 'com.github.yhyzgn.EasyRouter'
Expand Down Expand Up @@ -47,4 +48,20 @@ dependencies {

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

publishing {
publications {
maven(MavenPublication) {
groupId = "${group}"
artifactId = "router"
version = "2.0.6"
}
}
// 发布的仓库配置
repositories {
maven {
url "https://jitpack.io"
}
}
}

0 comments on commit 77073cb

Please sign in to comment.