Files
ComponentCornerstone/component-plugin/build.gradle
linzheng\n8383 e1c827c447 Merge branch 'develop' into marge_transform
# Conflicts:
#	build.gradle
#	component-plugin/build.gradle
#	component-plugin/src/main/groovy/com/plugin/component/ComponentPlugin.groovy
2019-10-22 16:08:33 +08:00

56 lines
1.3 KiB
Groovy
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

apply plugin: 'groovy'
apply plugin: 'maven'
//apply plugin: 'com.novoda.bintray-release'
group = 'com.effective.plugins'
archivesBaseName = 'component'
version = '1.0.4-beta'
//设置本地发布路径
uploadArchives {
repositories {
mavenDeployer {
/**配置Maven部署器将工件上传到本地目录这里是放到与该项目同级目录的repo目录下*/
repository(url: uri('../repo'))
}
}
}
dependencies {
implementation gradleApi()
implementation localGroovy()
implementation 'com.android.tools.build:gradle:3.1.0'
implementation 'org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.50'
implementation 'org.ow2.asm:asm:7.1'
implementation 'org.ow2.asm:asm-commons:7.1'
implementation 'org.ow2.asm:asm-util:7.1'
implementation 'com.quinn.hunter:hunter-transform:0.9.3'
}
sourceSets {
main {
groovy {
srcDirs = ['src/main/groovy']
}
}
}
repositories {
jcenter()
google()
mavenCentral()
}
//publish {
// userOrg = 'yummylau'
// groupId = 'com.effective.plugins'
// artifactId = 'component'
// publishVersion = '1.0.4'
// desc = 'Android component plugin'
// website = 'https://github.com/YummyLau/ComponentPlugin'
//}