File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ compileTestKotlin {
2020}
2121
2222dependencies {
23- compileOnly ' org.jetbrains:annotations:22 .0.0'
23+ compileOnly ' org.jetbrains:annotations:23 .0.0'
2424 api project(path : ' :jcef-library' , configuration : ' shadow' )
2525 api project(path : ' :ideaIC-library' , configuration : ' shadow' )
2626 implementation ' org.jetbrains.kotlin:kotlin-stdlib'
27- testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.2'
28- testRuntimeOnly ' org.junit.jupiter:junit-jupiter-engine:5.8.2'
2927}
3028
3129repositories {
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ configurations {
2525 ideaIC
2626}
2727
28- task installDependencies ( type : Sync ) {
28+ tasks . register( ' installDependencies ' , Sync ) {
2929 dependsOn configurations. ideaIC
3030 from {
3131 configurations. ideaIC. collect { zipTree(it) }
Original file line number Diff line number Diff line change @@ -35,13 +35,19 @@ def arch = osArch.matches('^(x8664|amd64|ia32e|em64t|x64)$')
3535 ? ' arm'
3636 : ' arm64'
3737
38- task downloadJcef (type : Download ) {
38+ tasks. register(' prepareBuildDir' ) {
39+ mkdir buildDir
40+ outputs. dir(buildDir)
41+ }
42+
43+ tasks. register(' downloadJcef' , Download ) {
44+ dependsOn tasks. prepareBuildDir
3945 src " https://github.com/jcefmaven/jcefbuild/releases/download/1.0.18/${ os} -${ arch} .tar.gz"
4046 dest buildDir
4147 overwrite false
4248}
4349
44- task decompressJcef ( type : Copy ) {
50+ tasks . register( ' decompressJcef ' , Copy ) {
4551 dependsOn tasks. downloadJcef
4652 from tarTree(resources. gzip(tasks. downloadJcef. outputs. files. singleFile))
4753 into " $buildDir /jcef"
You can’t perform that action at this time.
0 commit comments