Couldn't build amps (repo and share)
Closed this issue · 2 comments
sergefedorow commented
Hi! I'v a problem to gradle amp files. It couldn't find com.parashift.amp: amp-plugin:1.1.1. The same error are in repo and share.
I take clear image of Ubuntu 16.04.5 LTS (GNU/Linux 4.15.0-1025-gcp x86_64) and do so:
$ sudo apt-get remove gradle
$ sudo add-apt-repository ppa:cwchien/gradle
$ sudo apt-get update
$ sudo apt-get install gradle
$ sudo apt-get install oracle-java8-installer
$ sudo apt install oracle-java8-set-default
$ git clone https://github.com/cetra3/onlyoffice-alfresco.git
// Add my Ukrainian language file.
$ mv onlyoffice_uk.properties /home/ups_developer_007/onlyoffice-alfresco/share/src/main/resources/alfresco/messages
$ cd onlyoffice-alfresco/share
$ gradle amp
Welcome to Gradle 5.0!
Here are the highlights of this release:
- Kotlin DSL 1.0
- Task timeouts
- Dependency alignment aka BOM support
- Interactive `gradle init`
For more details see https://docs.gradle.org/5.0/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'onlyoffice-alfresco-share'.
> Could not resolve all artifacts for configuration ':classpath'.
> Could not find com.parashift.amp:amp-plugin:1.1.1.
Searched in the following locations:
- https://mvn.parashift.com.au/public/com/parashift/amp/amp-plugin/1.1.1/amp-plugin-1.1.1.pom
- https://mvn.parashift.com.au/public/com/parashift/amp/amp-plugin/1.1.1/amp-plugin-1.1.1.jar
Required by:
project :
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 9s
cetra3 commented
I'll submit a change for this, but in the interim please adjust your build.gradle to use jcenter():
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.parashift.amp:amp-plugin:1.1.1'
}
}
sergefedorow commented
Thank you! amp-plugin connected.
But now JavaCompile gives 100 errors. Some problems with versions.