Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
ad631223
Commit
ad631223
authored
Apr 28, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 配置修改
parent
897ef733
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
54 deletions
+20
-54
build.gradle
build.gradle
+9
-51
maven_push.gradle
maven_push.gradle
+11
-3
No files found.
build.gradle
View file @
ad631223
apply
from:
"config.gradle"
buildscript
{
ext
.
kotlin_version
=
'1.3.50'
ext
{
kotlin_version
=
'1.3.
21
'
kotlin_version
=
'1.3.
50
'
support_version
=
'26.1.0'
minSdkVersion
=
21
targetSdkVersion
=
28
...
...
@@ -16,50 +15,27 @@ buildscript {
constrait_support_version
=
'1.0.2'
}
repositories
{
google
()
//壹点灵android maven私服 开发版
maven
{
url
'http://nexus.yidianling.com/repository/AndroidRepository/'
credentials
{
username
"admin"
password
"fjoi#1+#@"
}
}
maven
{
url
'http://nexus.yidianling.com/repository/
AndroidReleases
/'
url
'http://nexus.yidianling.com/repository/
android
/'
credentials
{
username
"admin"
password
"fjoi#1+#@"
}
}
maven
{
url
'http://maven.aliyun.com/nexus/content/groups/public/'
}
// maven {
// url 'https://dl.bintray.com/zouyuhan/maven'
// }
mavenCentral
()
google
()
jcenter
()
maven
{
url
"https://oss.sonatype.org/content/repositories/snapshots/"
}
//Umeng sdk maven 地址
maven
{
url
'https://repo1.maven.org/maven2/'
}
mavenLocal
()
// maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies
{
classpath
'com.android.tools.build:gradle:3.2.0'
classpath
"org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath
'com.jakewharton:butterknife-gradle-plugin:8.4.0'
classpath
'com.meituan.android.walle:plugin:1.1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
classpath
'com.meituan.robust:gradle-plugin:0.4.87'
classpath
'com.meituan.robust:auto-patch-plugin:0.4.87'
//bugly 符号表
classpath
'com.tencent.bugly:symtabfileuploader:2.2.1'
//微信资源混淆
classpath
'com.tencent.mm:AndResGuard-gradle-plugin:1.2.16'
classpath
'com.ydl.plugins:modular:1.0.3'
classpath
'com.ydl:notracepoint-gradle-plugin:0.0.3'
classpath
'com.ydl.plugins:restools:
0
.0.1'
classpath
'com.ydl.plugins:restools:
1
.0.1'
classpath
'com.jakewharton:butterknife-gradle-plugin:9.0.0-rc1'
}
}
...
...
@@ -68,34 +44,16 @@ allprojects {
repositories
{
//壹点灵android maven私服 开发版
maven
{
url
'http://nexus.yidianling.com/repository/AndroidRepository/'
credentials
{
username
"admin"
password
"fjoi#1+#@"
}
}
maven
{
url
'http://nexus.yidianling.com/repository/AndroidReleases/'
url
'http://nexus.yidianling.com/repository/android/'
credentials
{
username
"admin"
password
"fjoi#1+#@"
}
}
maven
{
url
'http://maven.aliyun.com/nexus/content/groups/public/'
}
// maven { url'http://developer.huawei.com/repo/' }
maven
{
url
"https://jitpack.io"
}
maven
{
// url 'https://maven.google.com'
url
'https://dl.google.com/dl/android/maven2/'
}
// maven {
// url 'https://dl.bintray.com/zouyuhan/maven'
// }
mavenCentral
()
google
()
jcenter
()
maven
{
url
'https://maven.aliyun.com/repository/releases'
}
//Umeng sdk maven 地址
maven
{
url
'https://repo1.maven.org/maven2/'
}
mavenLocal
()
}
}
...
...
maven_push.gradle
View file @
ad631223
...
...
@@ -5,6 +5,13 @@ def mavenRepositoryUrl = "http://nexus.yidianling.com/repository/AndroidReleases
def
getVersionName
()
{
return
hasProperty
(
'VERSION_NAME'
)
?
VERSION_NAME
:
rootProject
.
ext
.
ydlPublishVersion
[
project
.
getName
()]
}
task
sourceJar
(
type:
Jar
){
classifier
=
'source'
from
android
.
sourceSets
.
main
.
java
.
srcDirs
}
artifacts
{
archives
sourceJar
}
afterEvaluate
{
project
->
uploadArchives
{
...
...
@@ -13,9 +20,10 @@ afterEvaluate { project ->
pom
.
artifactId
=
project
.
getName
().
replace
(
'_'
,
"-"
)
pom
.
groupId
=
"com.ydl"
pom
.
version
=
getVersionName
()
repository
(
url:
mavenRepositoryUrl
)
{
authentication
(
userName:
"admin"
,
password:
"fjoi#1+#@"
)
}
// repository(url: mavenRepositoryUrl) {
// authentication(userName: "admin", password: "fjoi#1+#@")
// }
repository
(
url:
mavenLocal
().
url
)
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment