diff options
author | Arne Schwabe <arne@rfc2549.org> | 2020-06-03 01:31:23 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2020-06-03 10:57:02 +0200 |
commit | b48e72be4f17c99d74e7a596625ad82bb97f2311 (patch) | |
tree | f9c57c3104d6b651bd8643e24081121985cc4506 /main | |
parent | 75c9447b2d455995d242313abf1f6fb6d593c36e (diff) |
Update gradle plugins and to Android studio 4.0
Diffstat (limited to 'main')
-rw-r--r-- | main/build.gradle.kts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/main/build.gradle.kts b/main/build.gradle.kts index d95661e1..e88aec35 100644 --- a/main/build.gradle.kts +++ b/main/build.gradle.kts @@ -141,6 +141,7 @@ fun registerGenTask(variantName: String, variantDirName: String): File { "-Isrc/main/cpp/openvpn3/client", "-Isrc/main/cpp/openvpn3/", "-o", "${genDir}/ovpncli_wrap.cxx", "-oh", "${genDir}/ovpncli_wrap.h", "src/main/cpp/openvpn3/javacli/ovpncli.i")) + } return baseDir } @@ -149,7 +150,7 @@ android.applicationVariants.all(object : Action<ApplicationVariant> { override fun execute(variant: ApplicationVariant) { val sourceDir = registerGenTask(variant.name, variant.baseName.replace("-", "/")) val task = tasks.named("generateOpenVPN3Swig${variant.name}").get() - + variant.registerJavaGeneratingTask(task, sourceDir) } }) |