Android development for accentor

This commit is contained in:
Charlotte Van Petegem 2020-03-19 17:32:01 +01:00
parent f0853adde2
commit 16cf2672c1
6 changed files with 2783 additions and 2 deletions

View file

@ -0,0 +1,18 @@
{ pkgs ? import <nixpkgs> {} }:
with pkgs;
let
buildGradle = callPackage ./gradle-env.nix {};
in
buildGradle {
envSpec = ./gradle-env.json;
src = fetchTarball {
url = "https://github.com/fwcd/kotlin-language-server/archive/master.tar.gz";
sha256 = "0spcxrk6gyxrrwnffsmr2f5y8zs0nq1fq2pkscih56zxz0v3dm50";
};
gradleFlags = [ "server:installDist" ];
installPhase = ''
mkdir -p $out
cp -r server/build/install/server/* $out/
'';
}