File: build.gradle

package info (click to toggle)
byte-buddy 1.14.19-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,684 kB
  • sloc: java: 186,543; xml: 7,684; sh: 217; ansic: 101; makefile: 14
file content (26 lines) | stat: -rw-r--r-- 828 bytes parent folder | download
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
buildscript {
    ext {
        outerPom = new groovy.xml.XmlSlurper().parse(rootProject.file('../pom.xml'))
        byteBuddyVersion = outerPom.parent.version.text().toString()
    }
    repositories {
        mavenCentral()
        google()
    }
    dependencies {
        classpath group: 'com.android.tools.build', name: 'gradle', version: '7.4.0'
        def byteBuddyPlugin = new File("${rootDir}/../build/libs/byte-buddy-gradle-plugin-${byteBuddyVersion}.jar").canonicalFile
        def byteBuddyLib = new File("$rootDir/../../byte-buddy/target/byte-buddy-${byteBuddyVersion}.jar").canonicalFile
        classpath files(byteBuddyPlugin)
        classpath files(byteBuddyLib.absolutePath)
    }
}

ext.javaVersion = JavaVersion.VERSION_11

subprojects {
    repositories {
        mavenCentral()
        google()
    }
}