pluginManagement {
    plugins {
        id("org.gradle.toolchains.foojay-resolver-convention") version("0.9.0")
    }
}

dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven { url "https://maven.google.com" }
        maven { url "https://jitpack.io" }
    }

    versionCatalogs {
        create("buildtools") {
            from(files("./gradle/catalogs/buildtools.versions.toml"))
        }
    }
}

// Apps
include ':apps:frolomuse'
include ':apps:frolo-audiofx'
include ':apps:frolo-visualizer'

// Features
include ':feature:onboarding'
include ':feature:audiofx2'
include ':feature:remote-search'
include ':feature:visualizer'

// Advertising
include ':ads:admob'

// Core
include ':core'
include ':core-ui'

// Music data
include ':music-data:model'
include ':music-data:repository:api'
include ':music-data:repository:android-impl'
include ':music-data:mediascan'

// AudioFx
include ':audio:audiofx:api'
include ':audio:audiofx:android-impl'
include ':audio:audiofx-applicable'
include ':audio:audiofx2:api'
include ':audio:audiofx2:android-impl'

// Player
include ':audio:player:api'
include ':audio:player:android-impl'
include ':audio:player:data'

// Billing
include ':billings:billing-api'
include ':billings:play-store-billing-impl'
include ':billings:app-gallery-billing-impl'

// Performance
include ':performance:coldstart'
include ':performance:anr'
include ':performance:scroll'

// Loggers
include ':logger:api'
include ':logger:impl'

// Utils
include ':utils:collections'
include ':utils:debug-common'
include ':utils:threads-common'
include ':utils:rx'
include ':utils:ui'
include ':utils:stopwatch'
include ':utils:headset'

// Audio libs
include ':audio-libs:my_id3'
include ':audio-libs:soundwaveform'
include ':audio-libs:ringdroid'

// Custom views
include ':custom-view:equalizerview'
include ':custom-view:visualizerview'
include ':custom-view:mediabutton'

// Custom drawable
include ':custom-drawable:squircle'

// Misc stuff
include ':vendor'
include ':material-support'
include ':arch-support'

// Test tools
include ':test-tools:stubs'
include ':test-tools:assets'
