Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liumingming
/
hh.sdk.jcenter.sdk.base
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
liumingming
2021-01-04 14:40:48 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5c7f0278fca74782e93f7d8dd80d44e3c739d624
5c7f0278
1 parent
2768fab1
fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
74 deletions
app/build.gradle
app/maven-release-aar.gradle
build.gradle
app/build.gradle
View file @
5c7f027
...
...
@@ -81,8 +81,4 @@ repositories {
}
url
'http://develop.hh-medic.com/repository/maven-public'
}
}
//apply from:'maven-release-aar.gradle'
apply
from:
'bintray.gradle'
apply
from:
'install.gradle'
\ No newline at end of file
}
\ No newline at end of file
...
...
app/maven-release-aar.gradle
deleted
100644 → 0
View file @
2768fab
// 1.maven-插件
apply
plugin:
'maven'
// 2.maven-信息
//ext {// ext is a gradle closure allowing the declaration of global properties
// PUBLISH_GROUP_ID = 'com.hhmedic.android.sdk'
// PUBLISH_ARTIFACT_ID = 'nim'
// PUBLISH_VERSION = android.defaultConfig.versionName
//}
def
PUBLISH_URL
=
'http://develop.hh-medic.com/repository/maven-releases/'
def
PUBLISH_GROUP_ID
=
'com.hhmedic.android.sdk'
def
PUBLISH_ARTIFACT_ID
=
"base_small"
def
PUBLISH_VERSION
=
android
.
defaultConfig
.
versionName
// 3.maven-输出路径
uploadArchives
{
// repositories.mavenDeployer {
// //这里就是最后输出地址,在自己电脑上新建个文件夹,把文件夹路径粘贴在此
// //注意”file://“ + 路径,有三个斜杠,别漏了
// repository(url: "file:///Workspace/Workshop/HHSDKAndroidOutput")
//
// pom.project {
// groupId project.PUBLISH_GROUP_ID
// artifactId project.PUBLISH_ARTIFACT_ID
// version project.PUBLISH_VERSION
// }
// }
repositories
{
mavenDeployer
{
repository
(
url:
PUBLISH_URL
)
{
authentication
(
userName:
"hh-user"
,
password:
"hi9rqvdR"
)
}
pom
.
groupId
=
PUBLISH_GROUP_ID
pom
.
artifactId
=
PUBLISH_ARTIFACT_ID
pom
.
version
=
PUBLISH_VERSION
pom
.
project
{
licenses
{
license
{
name
'The Apache Software License, Version 2.0'
url
'http://www.apache.org/licenses/LICENSE-2.0.txt'
}
}
}
}
}
}
//以下代码会生成jar包源文件,如果是不开源码,请不要输入这段
//aar包内包含注释
//task androidSourcesJar(type: Jar) {
// classifier = 'sources'
// from android.sourceSets.main.java.sourceFiles
//}
//
//artifacts {
// archives androidSourcesJar
//}
\ No newline at end of file
build.gradle
View file @
5c7f027
...
...
@@ -24,6 +24,4 @@ allprojects {
task
clean
(
type:
Delete
)
{
delete
rootProject
.
buildDir
}
apply
from:
'publish_config.gradle'
\ No newline at end of file
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment