mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 17:11:39 +03:00
f8853ff353
* Move modules. * Small fix.
23 lines
713 B
YAML
23 lines
713 B
YAML
# project is java
|
|
language: java
|
|
# Use https (public access) instead of git for git-submodules. This modifies only Travis-CI behavior!
|
|
# disable the default submodule logic
|
|
git:
|
|
submodules: false
|
|
# use sed to replace the SSH URL with the public URL, then init and update submodules
|
|
before_install:
|
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
|
- git submodule update --init --recursive
|
|
# gradle
|
|
before_cache:
|
|
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
|
|
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
|
|
cache:
|
|
directories:
|
|
- $HOME/.gradle/caches/
|
|
- $HOME/.gradle/wrapper/
|
|
script:
|
|
- ./gradlew assemble build
|
|
# not working artifacts
|
|
addons:
|
|
artifacts: false
|