File: build.gradle

package info (click to toggle)
syslog-ng 3.19.1-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 13,176 kB
  • sloc: ansic: 114,472; makefile: 4,697; sh: 4,391; python: 4,282; java: 4,047; xml: 2,435; yacc: 1,108; lex: 426; perl: 193; awk: 184
file content (29 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
apply from: 'internal_repositories.gradle'
project.buildDir = syslogBuildDir

subprojects {
    apply plugin: 'java'
    apply plugin: 'eclipse'
    apply plugin: 'idea'

    repositories {
        maven {
          url "/usr/lib/syslog-ng-java-compile-deps-mvn-repo"
        }
        flatDir {
            dirs syslogDepsDir
            dirs syslogBuildDir + '/common/gradle/libs'
        }
      mavenCentral()
    }

    compileJava {
        sourceCompatibility "1.7"
        targetCompatibility "1.7"
    }
}

task copyJars(type: Copy, dependsOn: subprojects.jar) {
  from(subprojects.jar)
  into syslogBuildDir + '/built-jars'
}