wip: gradle-ide

Julien LepillerThu Jun 28 00:10:19+0200 2018

cc2e5c3

wip: gradle-ide

more/packages/gradle.scm

6363
@code{projects} and @code{runtime} parameters."
6464
  (package
6565
    (name (string-append "gradle-" subproject))
66-
    (version "4.8.0")
66+
    (version "4.8.1")
6767
    (source (origin
6868
              (method url-fetch)
6969
              (uri (string-append "https://github.com/gradle/gradle/archive/v"

7171
              (file-name (string-append "gradle-" version ".tar.gz"))
7272
              (sha256
7373
               (base32
74-
                "1jbw9044g0czn8pm46i6j4y0gx6l3b3iwamh9d7ja14i2wrx5shf"))
74+
                "0khq8lvw5gp9nrwqhr9818xfmijz14z5lg9l6b2c4zrbsckqw940"))
7575
              (patches
7676
                (search-patches
7777
                  "gradle-match-files-without-version-number.patch"))))

459459
                 "gradle-cli" "gradle-build-option")
460460
               ;; Maybe log4j-over-slf4j and jcl-over-slf4j
461461
               '("java-slf4j-api" "java-jul-to-slf4j" "ant" "java-commons-lang"
462+
                 "java-commons-logging-minimal"
462463
                 "java-guava-for-gradle" "java-jansi" "java-jansi-native"
463464
                 "java-jcip-annotations")))
464465
    (inputs

468469
       ("gradle-messaging" ,gradle-messaging)
469470
       ("gradle-native" ,gradle-native)
470471
       ("java-commons-lang" ,java-commons-lang)
472+
       ("java-commons-logging-minimal" ,java-commons-logging-minimal)
471473
       ("java-guava-for-gradle" ,java-guava-for-gradle)
472474
       ("java-jansi" ,java-jansi)
473475
       ("java-jansi-native" ,java-jansi-native)

476478
       ("java-slf4j-api" ,java-slf4j-api)
477479
       ("java-jul-to-slf4j" ,java-jul-to-slf4j)))))
478480
481+
(define-public gradle-scala
482+
  (let ((base (gradle-subproject
483+
                "scala"
484+
                '("gradle-core" "gradle-language-jvm"
485+
                  "gradle-language-scala" "gradle-plugins")
486+
                '("groovy"))))
487+
    (package
488+
      (inherit base)
489+
      (inputs
490+
       `(("gradle-base-services" ,gradle-base-services)
491+
         ("gradle-core" ,gradle-core)
492+
         ("gradle-core-api" ,gradle-core-api)
493+
         ("gradle-model-core" ,gradle-model-core)
494+
         ("gradle-platform-base" ,gradle-platform-base)
495+
         ("gradle-plugins" ,gradle-plugins)
496+
         ("gradle-reporting" ,gradle-reporting)
497+
         ("groovy" ,groovy)
498+
         ("java-guava-for-gradle" ,java-guava-for-gradle)
499+
         ("java-javax-inject" ,java-javax-inject)
500+
         ("java-jsr305" ,java-jsr305))))))
501+
502+
(define-public gradle-ide
503+
  (let ((base (gradle-subproject
504+
                "ide"
505+
                '("gradle-scala" "gradle-core" "gradle-plugins" "gradle-ear"
506+
                  "gradle-tooling-api")
507+
                '("java-slf4j-api" "java-javax-inject" "groovy"))))
508+
    (package
509+
      (inherit base)
510+
      (inputs
511+
       `(("gradle-base-services" ,gradle-base-services)
512+
         ("gradle-base-services-groovy" ,gradle-base-services-groovy)
513+
         ("gradle-composite-builds" ,gradle-composite-builds)
514+
         ("gradle-core" ,gradle-core)
515+
         ("gradle-core-api" ,gradle-core-api)
516+
         ("gradle-dependency-management" ,gradle-dependency-management)
517+
         ("gradle-docs" ,gradle-docs)
518+
         ("gradle-ear" ,gradle-ear)
519+
         ("gradle-language-java" ,gradle-language-java)
520+
         ("gradle-logging" ,gradle-logging)
521+
         ("gradle-platform-base" ,gradle-platform-base)
522+
         ("gradle-platform-jvm" ,gradle-platform-jvm)
523+
         ("gradle-plugins" ,gradle-plugins)
524+
         ("gradle-process-services" ,gradle-process-services)
525+
         ("gradle-scala" ,gradle-scala)
526+
         ("gradle-tooling-api" ,gradle-tooling-api)
527+
         ("groovy" ,groovy)
528+
         ("java-commons-lang" ,java-commons-lang)
529+
         ("java-commons-io" ,java-commons-io)
530+
         ("java-guava-for-gradle" ,java-guava-for-gradle)
531+
         ("java-javax-inject" ,java-javax-inject)
532+
         ("java-jsr305" ,java-jsr305)
533+
         ("java-slf4j-api" ,java-slf4j-api))))))
534+
479535
(define-public gradle-model-core
480536
  (package
481537
    (inherit (gradle-subproject

31983254
                             "java-bouncycastle"
31993255
                             "java-bsh"
32003256
                             "java-commons-codec"
3257+
                             "java-commons-logging-minimal"
32013258
                             "java-gson"
32023259
                             "java-hamcrest-all"
32033260
                             "java-httpcomponents-httpclient"

33823439
       ("java-commons-collections" ,java-commons-collections)
33833440
       ("java-commons-io" ,java-commons-io)
33843441
       ("java-commons-lang" ,java-commons-lang)
3442+
       ("java-commons-logging-minimal" ,java-commons-logging-minimal)
33853443
       ("java-gson" ,java-gson)
33863444
       ("java-guava-for-gradle" ,java-guava-for-gradle)
33873445
       ("java-hamcrest-all" ,java-hamcrest-all)