Kotlin / dukat

Converter of <any kind of declarations> to Kotlin external declarations
548 stars 44 forks source link

Use Dukat with @types/frida-gum npm package has a lot of errors #428

Open XhstormR opened 3 years ago

XhstormR commented 3 years ago
version = "1.0-SNAPSHOT"

plugins {
    idea
    kotlin("js") version "1.4.21"
    id("org.jlleitschuh.gradle.ktlint") version "9.4.1"
}

kotlin {
    js {
        browser {
            testTask {
                useKarma {
                    useChromeHeadless()
                }
            }
        }
    }
}

repositories {
    maven("https://mirrors.huaweicloud.com/repository/maven")
}

dependencies {
    implementation(npm("@types/frida-gum", "16.2.1", generateExternals = true))
    implementation(kotlin("stdlib-js"))

    testImplementation(kotlin("test-js"))
}

tasks {
    withType<Wrapper> {
        gradleVersion = "6.7"
        distributionType = Wrapper.DistributionType.ALL
    }
}

aaaaaaaaaaaaaaaaa