Skip to content

Commit

Permalink
修复 maven
Browse files Browse the repository at this point in the history
  • Loading branch information
yizems committed Dec 8, 2021
1 parent 9e9d74d commit 050419c
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion android/android-context/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id("com.vanniktech.maven.publish")
}

android {
Expand Down
2 changes: 1 addition & 1 deletion android/android-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id("com.vanniktech.maven.publish")
}

android {
Expand Down
2 changes: 1 addition & 1 deletion android/android-okhttp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id("com.vanniktech.maven.publish")
}

android {
Expand Down
1 change: 1 addition & 0 deletions android/android-permission/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id("com.vanniktech.maven.publish")
}

android {
Expand Down
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
buildscript {
ext.kotlin_version = '1.5.20'
repositories {
mavenLocal()
maven {
url 'https://maven.aliyun.com/repository/public/'
}
Expand Down
2 changes: 1 addition & 1 deletion comm/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java-library'
id 'kotlin'
id 'maven-publish'
id("com.vanniktech.maven.publish")
}

java {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ android.enableJetifier=true
kotlin.code.style=official
#region maven 发布配置
GROUP=com.github.yizems
# POM_ARTIFACT_ID=KUtil
POM_ARTIFACT_ID=KUtil
VERSION_NAME=0.0.1
# POM_NAME=KUtil
POM_NAME=KUtil
POM_DESCRIPTION=some util collection
POM_INCEPTION_YEAR=2021
POM_URL=https://github.dev/yizems/KUtil
Expand Down
2 changes: 1 addition & 1 deletion okhttp/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'com.android.library'
id 'kotlin-android'
id 'maven-publish'
id("com.vanniktech.maven.publish")
}


Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenLocal()
maven {
url 'https://maven.aliyun.com/repository/public/'
}
Expand Down

0 comments on commit 050419c

Please sign in to comment.