Gradle中的Artifactory插件

时间:2015-08-17 08:47:32

标签: gradle artifactory

我试图在gradle中使用artifactory。

这是我的build.gradle(它是从artifactory网站的UI生成的):

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'GradleConfiguration'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve org.jfrog.buildinfo:build-info-extractor-gradle:2.0.9.
     Required by:
         :GradleConfiguration:unspecified
      > Target host must not be null, or set in parameters.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

但出于某种原因我收到了这个错误:

#!/usr/bin/perl

use strict;
use warnings;
use 5.010;

use Time::Piece;

say scalar localtime->strftime('%F %T %Z');

foreach ('UTC', 'Europe/Paris', 'America/New_York') {
  $ENV{TZ} = $_;
  say scalar localtime->strftime('%F %T %Z');
}

GradleConfiguration是build.gradle所在项目的名称。

有人可以解释为什么我会收到此错误吗?

0 个答案:

没有答案