New Object Box Plugin is not generating the code when building the project

Hello I recently decided to add ObjectBox plugin to my existing project since I’ve been using it in other projects and I like it very much.
I am adding and applying the plugin as always and as its indicated in the Getting Started doc.
This is the project build.graddle buildscript:

buildscript {
    ext.kotlin_version = '1.9.23'
    ext.dagger_version = '2.51.1'
    ext.objectbox_version = '3.8.0'

    repositories {
        maven { url 'https://jitpack.io' }
        google()
        mavenCentral()
        jcenter() // Consider removing jcenter as it's deprecated.
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:8.3.0'    // 8.3.0 best for SDK 34.
        // Plugins
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
        classpath "com.google.dagger:hilt-android-gradle-plugin:$dagger_version"
        classpath "io.objectbox:objectbox-gradle-plugin:$objectbox_version"
    }
}

Now this is the application build.graddle:

plugins {
    id 'com.android.application'
    id 'kotlin-parcelize'
    id 'dagger.hilt.android.plugin'
    id 'io.objectbox' // Apply last always.
}
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin'
apply plugin: 'io.objectbox' // Apply last always.

android {
    compileSdk 34 // SDK Version
    // Rest of the code...
}

This works so far in my App since when I open a Java class it imports correctly the io.objectbox library classes.

The thing is I’m declaring an Entity in order to generate the database but when I make the project it does nothing and doesn’t generate the database files for example the objectbox-models folder is not being generated.

Here’s the first Entity that I have created to generate the ObjectBox database.

import com.google.gson.annotations.Expose;

import io.objectbox.annotation.Entity;
import io.objectbox.annotation.Id;
import io.objectbox.annotation.Uid;

@Entity
public class Usuario {
    @Id private long idBoxStore;
    @Expose private long id;
    @Expose private String username;
    @Expose private String password;
    @Expose private boolean active;
    @Expose private String bearer_token;

    public Usuario() {
    }

    public long getIdBoxStore() {
        return idBoxStore;
    }

    public void setIdBoxStore(long idBoxStore) {
        this.idBoxStore = idBoxStore;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }

    public String getBearerToken() {
        return bearer_token;
    }

    public void setBearerToken(String token) {
        this.bearer_token = token;
    }
}

I tried creating a BoxStoreManager class in order to define the Boxes and create methods for specific querys. It would be an instance of the ObjectBoxBuilder BoxStore. Here’s an example of the method that has the conflict. It cannot recognize what is MyObjectBox.

private static void updateBoxStoreIfNeeded(Context context) {
if (boxStore == null || boxStore.isClosed()) {
boxStore = MyObjectBox.builder().androidContext(context.getApplicationContext()).build();
}
}

This and not seing the generated files just makes me belive that it’s not working properly.
Am I missing a step? I’m pretty sure I followed a step by step guide from the Getting Started official documentation. But as you can see I cannot get past the ‘Generate ObjectBox code’ step.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật