Updated build tools

This commit is contained in:
M66B 2024-04-29 16:49:43 +02:00
parent 168484ddb5
commit 5b547b6ba0
6 changed files with 11 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="KotlinJpsPluginSettings">
<option name="version" value="1.9.22" />
<option name="version" value="1.9.23" />
</component>
</project>

View File

@ -10,6 +10,7 @@ For support you can use [the contact form](https://contact.faircode.eu/?product=
* Added expression condition functions, see [the FAQ](https://m66b.github.io/FairEmail/#faq71)
* Small improvements and minor bug fixes
* Updated build tools
* Updated libraries (including [Bouncy Castle](https://www.bouncycastle.org/))
### 1.2178 - 2024-04-29

View File

@ -471,11 +471,11 @@ tasks.register('upload') {
doLast {
println "\nhttps://bitbucket.org/M66B/fairemail-test/downloads/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target + "-release.apk\n"
exec {
workingDir "${buildDir}"
workingDir "${getLayout().getBuildDirectory()}"
commandLine 'curl',
'-o', '/dev/null',
'-X', 'POST', "https://M66B:" + localProperties.getProperty("bb.pwd", "") + "@api.bitbucket.org/2.0/repositories/M66B/fairemail-test/downloads",
'--form', "files=@${buildDir}/outputs/apk/" + target.split('-')[0] + "/release/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target.split('-')[0] + "-release.apk;" +
'--form', "files=@${getLayout().getBuildDirectory()}/outputs/apk/" + target.split('-')[0] + "/release/FairEmail-v1." + getVersionCode() + getRevision() + "-" + target.split('-')[0] + "-release.apk;" +
"filename=FairEmail-v1." + getVersionCode() + getRevision() + "-" + target + "-release.apk"
}
}

View File

@ -10,6 +10,7 @@ For support you can use [the contact form](https://contact.faircode.eu/?product=
* Added expression condition functions, see [the FAQ](https://m66b.github.io/FairEmail/#faq71)
* Small improvements and minor bug fixes
* Updated build tools
* Updated libraries (including [Bouncy Castle](https://www.bouncycastle.org/))
### 1.2178 - 2024-04-29

View File

@ -12,10 +12,10 @@ buildscript {
// https://mvnrepository.com/artifact/com.bugsnag/bugsnag-android-gradle-plugin
classpath "com.bugsnag:bugsnag-android-gradle-plugin:8.1.0"
// https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugin
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.22"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:1.9.22"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:1.9.23"
// https://plugins.gradle.org/plugin/de.undercouch.download
classpath "de.undercouch:gradle-download-task:5.5.0"
classpath "de.undercouch:gradle-download-task:5.6.0"
}
}
@ -27,6 +27,6 @@ allprojects {
}
}
task clean(type: Delete) {
delete rootProject.buildDir
tasks.register('clean', Delete) {
delete rootProject.getLayout().getBuildDirectory()
}

View File

@ -10,6 +10,7 @@ Next version
* Added expression condition functions, see the FAQ
* Small improvements and minor bug fixes
* Updated build tools
* Updated libraries (including Bouncy Castle
1.2178 - 2024-04-29