I am using twitter4j for accessing the v1 of twitter API. As some of you know, v1 is getting deleted/deprecated by 4/29/2023.
For v2 twitter API, I found I need to add the v2 twitter4j wrapper to my project to use the v2 APIs. https://github.com/takke/twitter4j-v2
I thought it'd be simply adding the depecency to my pom, but not so. It's written in Kotlin. I added the dependency and it compiles just fine, I can see the .class files of the lib, but when I tried to import, it's not found.
I do see this message when I do clean install:
[WARNING] No sources found skipping Kotlin compile
I am using intellij. Is there a setting I need to change?
This is snippet of my pom:
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-core</artifactId>
<version>4.0.7</version>
</dependency>
<dependency>
<groupId>io.github.takke</groupId>
<artifactId>jp.takke.twitter4j-v2</artifactId>
<version>1.4.1</version>
</dependency>
This is probably rookie mistake I'm making since I never worked with Kotlin before.