提交 e81ba1c4 编写于 作者: S Skylot

build: fix latest java version for gitlab build

上级 b219ab60
......@@ -19,10 +19,10 @@ java-11:
image: openjdk:11
script: ./gradlew clean build
java-12:
java-latest:
stage: test
image: gradle:jdk12 # latest gradle and jdk12
script: gradle clean build
image: openjdk:latest
script: java -version && ./gradlew clean build
check:
stage: check
......
......@@ -15,6 +15,9 @@ allprojects {
version = jadxVersion
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
tasks.withType(JavaCompile) {
if (!"$it".contains(':jadx-samples:')) {
options.compilerArgs << '-Xlint' << '-Xlint:unchecked' << '-Xlint:deprecation'
......@@ -60,7 +63,7 @@ allprojects {
}
jacoco {
toolVersion = "0.8.2"
toolVersion = "0.8.5"
}
jacocoTestReport {
reports {
......
......@@ -5,7 +5,6 @@ project.ext {
}
dependencies {
compile(project(":jadx-core"))
compile(project(":jadx-cli"))
}
......@@ -29,7 +28,7 @@ task samplesJar(type: Jar, dependsOn: samplesRun) {
task samplesJadxCreate(type: JavaExec, dependsOn: samplesJar) {
classpath = sourceSets.main.output + configurations.compile
main = project(":jadx-cli").mainClassName
args = ['-d', samplesJadxSrcDir, samplesJar.archivePath]
args = ['-v', '-d', samplesJadxSrcDir, samplesJar.archivePath]
}
task samplesJadxCompile(type: JavaCompile, dependsOn: samplesJadxCreate) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册