gpt4 book ai didi

android - 在 jFrog/Bintray 中导入 github 存储库以上传库时,导入 Github 存储库按钮被禁用

转载 作者:行者123 更新时间:2023-11-29 23:17:59 32 4
gpt4 key购买 nike

我想将我自己的库项目上传到 jCenter/Bintray,为此我已经遵循了以下网站的所有步骤

引用网站链接:

我的 bintrayUpload 命令执行成功,如下所示

enter image description here

现在,当我要导入 Github Repo 时,它总是会出现如下所示的带有禁用按钮的页面。

enter image description here

我已经在 github 中允许授予对这个 repo 的访问权限

enter image description here

这是我的项目级build.gradle文件

buildscript {
repositories {
mavenCentral()
google()
jcenter()

}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0-alpha06'
classpath 'com.novoda:bintray-release:0.8.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
mavenCentral()
google()
jcenter()

}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

build.gradle app目录下的文件

apply plugin: 'com.novoda.bintray-release'
apply plugin: 'com.android.library'

publish {

def groupProjectID = 'com.nip.test'
def artifactProjectID = 'nip-test'
def publishVersionID = '1.0'

userOrg = 'testing-007'
repoName = 'MyTestRepo'
groupId = groupProjectID
artifactId = artifactProjectID
publishVersion = publishVersionID
desc = 'Android library for displaying data on basic calculation.'
website = 'https://github.com/testing-tech/MyTestRepo'
}

android {
compileSdkVersion 28
defaultConfig {
// applicationId "com.nip.test"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}

dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'

implementation "android.arch.work:work-runtime:1.0.0-rc02"
}

但是,问题还是发生了。有什么解决办法?

最佳答案

请选中下图中存储库名称旁边的复选框,它将在您选择后启用导入选项。

enter image description here

瞧!!!快乐的编码。 :)

关于android - 在 jFrog/Bintray 中导入 github 存储库以上传库时,导入 Github 存储库按钮被禁用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54978929/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com