Git Product home page Git Product logo

Comments (4)

cypressious avatar cypressious commented on July 24, 2024

Hi @runkelstein,

When you're depending on com.github.cypressious.kotlin-webextensions-declarations:webextensions-declarations, you're only getting the declarations. They don't have any dependencies on the generator.

from kotlin-webextensions-declarations.

runkelstein avatar runkelstein commented on July 24, 2024

Hi cypressious,

ok than maybee it is a problem with my gradle file or intelijii. I can build it without the generator, but intelijii marks it still red:

image

That is my build.gradle.kt file:

import org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile

plugins {
    id("kotlin2js") version Versions.kotlin apply true
}

repositories {
    jcenter()
    mavenCentral()
    maven("https://www.jitpack.io")
}

dependencies {
    compile(kotlin("stdlib-js", Versions.kotlin) )
}

allprojects  {

    apply {
        plugin("kotlin-dce-js")
        plugin("kotlin2js")
    }

    repositories {
        jcenter()
        mavenCentral()
        maven("https://www.jitpack.io")
    }

    dependencies {
        compile(kotlin("stdlib-js", Versions.kotlin))
        compile("com.github.cypressious", "kotlin-webextensions-declarations", Versions.kotlinWebextensions);
    }


    tasks {
        compileKotlin2Js {
            kotlinOptions {
                sourceMap = true
                kotlinOptions.sourceMapEmbedSources = "always"
            }
        }
    }


}

from kotlin-webextensions-declarations.

runkelstein avatar runkelstein commented on July 24, 2024

Ok, now I see it, I have to change that line
compile("com.github.cypressious", "kotlin-webextensions-declarations", Versions.kotlinWebextensions);
to
compile("com.github.cypressious.kotlin-webextensions-declarations", "webextensions-declarations", Versions.kotlinWebextensions);

then it is working as expected. Thanks for your reply.

from kotlin-webextensions-declarations.

cypressious avatar cypressious commented on July 24, 2024

Perfect, thx for reporting your solution.

from kotlin-webextensions-declarations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.