| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- plugins {
- id 'java-platform'
- id 'maven-publish'
- }
- ext {
- GROUP_ID = 'com.wenext.android'
- ARTIFACT_ID = 'frame-bom'
- VERSION = '6.1.1'
- }
- dependencies {
- //在constraints块中定义依赖版本约束
- constraints {
- rootProject.allprojects
- .findAll {
- it.path.startsWith(":external:")
- || (it.path.startsWith(":frame:") && !it.path.contains("trace") && !it.path.contains("bundletool"))
- }
- .forEach { api(project(it.path)) }
- }
- }
- publishing {
- publications {
- mavenJava(MavenPublication) {
- from components.javaPlatform
- groupId project.GROUP_ID
- artifactId project.ARTIFACT_ID
- version project.VERSION
- }
- }
- repositories {
- maven {
- url 'http://8.134.139.102:8085/repository/wenext-android/'
- credentials {
- username 'admin'
- password 'e405f245-3a0e-4de7-8768-c4c62bdea293'
- }
- allowInsecureProtocol = true//允许 Gradle 使用不安全的协议
- }
- }
- }
|