44 lines
896 B
Groovy
44 lines
896 B
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0' //for publishing
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'java-gradle-plugin'
|
|
id 'groovy'
|
|
}
|
|
|
|
gradlePlugin {
|
|
plugins {
|
|
uploadSymbolPlugin {
|
|
id = 'ly.count.android.plugins.upload-symbols'
|
|
implementationClass = 'ly.count.android.plugins.UploadSymbolsPlugin'
|
|
}
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation gradleApi()
|
|
implementation localGroovy()
|
|
implementation 'com.squareup.okhttp3:okhttp:3.14.9'
|
|
}
|
|
|
|
apply plugin: "com.vanniktech.maven.publish"
|
|
|
|
publishing {
|
|
repositories {
|
|
maven {
|
|
name = "ZhiDaoAuto"
|
|
url = "https://nexus.zhidaoauto.com/repository/maven-releases/"
|
|
credentials(PasswordCredentials.class)
|
|
}
|
|
}
|
|
} |