在 jFrog/Bintray 中导入 github 存储库以上传库时,导入 Github 存储库按钮已禁用
Import Github repositories button disabled when go to import github repo in jFrog/Bintray to upload library
我想将我自己的图书馆项目上传到 jCenter/Bintray 因此我已经遵循了以下网站的所有步骤
参考网站 Link:
我的 bintrayUpload 命令成功执行如下
现在,当我将导入 Github Repo 时,它将始终如此,此页面带有如下禁用按钮。
我已经在 github
中允许授予对此存储库的访问权限
这是我的项目级别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"
}
但是,问题还是出现了。解决办法是什么?
请select选中下图中存储库名称旁边的复选框,它将启用在 selection 之后导入的选项。
瞧!!!
快乐的编码。 :)
我想将我自己的图书馆项目上传到 jCenter/Bintray 因此我已经遵循了以下网站的所有步骤
参考网站 Link:
我的 bintrayUpload 命令成功执行如下
现在,当我将导入 Github Repo 时,它将始终如此,此页面带有如下禁用按钮。
我已经在 github
中允许授予对此存储库的访问权限这是我的项目级别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"
}
但是,问题还是出现了。解决办法是什么?
请select选中下图中存储库名称旁边的复选框,它将启用在 selection 之后导入的选项。
瞧!!! 快乐的编码。 :)