Skip to content

frogobox/open-build-src

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Screenshoot

  • Library for constant data buildSrc
  • Library for calling constant variable for build.gradle.kts
  • Develop using IntelliJ IDEA
  • The requirement must already be using buildSrc
  • License Click Here
  • Privacy Policy Click Here

Repository for testing build from jitpack.io

  • Red : Failed
  • Green : Success / Pass

Version Release

This Is Latest Release

$version_release = 3.0.4

What's New??

* Update library version *
object Version {

    object Gradle {
        const val minSdk = 21
        const val compileSdk = 34
        const val targetSdk = compileSdk
    }

    object Ad {
        const val unityAds = "4.10.0" // https://developers.google.com/admob/android/mediation/unity#step_3_import_the_unity_ads_sdk_and_adapter
        const val startIo = "4.11.5" // https://support.start.io/hc/en-us/articles/360014774799-Integration-via-Maven
    }

    object Androidx {
        const val appCompat = "1.6.1" // https://developer.android.com/jetpack/androidx/releases/appcompat
        const val constraintLayout = "2.1.4" // https://developer.android.com/jetpack/androidx/releases/constraintlayout
        const val constraintLayoutCompose = "1.0.1" // https://developer.android.com/jetpack/androidx/releases/constraintlayout
        const val collection = "1.4.0" // https://developer.android.com/jetpack/androidx/releases/collection
        const val savedState = "1.2.1" // https://developer.android.com/jetpack/androidx/releases/savedstate
        const val viewPager = "1.0.0" // https://developer.android.com/jetpack/androidx/releases/viewpager
        const val viewPager2 = "1.0.0" // https://developer.android.com/jetpack/androidx/releases/viewpager2
        const val preference = "1.2.1" // https://developer.android.com/jetpack/androidx/releases/preference
        const val core = "1.13.0" // https://developer.android.com/jetpack/androidx/releases/core
        const val liveCycle = "2.7.0" // https://developer.android.com/jetpack/androidx/releases/lifecycle
        const val liveCycleArch = "2.2.0" // https://developer.android.com/jetpack/androidx/releases/lifecycle
        const val room = "2.6.1" // https://developer.android.com/jetpack/androidx/releases/room
        const val work = "2.9.0" // https://developer.android.com/jetpack/androidx/releases/work
        const val activityKtx = "1.9.0" // https://developer.android.com/jetpack/androidx/releases/activity
        const val fragmentKtx = "1.6.2" // https://developer.android.com/jetpack/androidx/releases/fragment
        const val navigationKtx = "2.7.7" // https://developer.android.com/jetpack/androidx/releases/navigation
        const val recyclerView = "1.3.2" // https://developer.android.com/jetpack/androidx/releases/recyclerview
        const val recyclerViewSelection = "1.1.0" // https://developer.android.com/jetpack/androidx/releases/recyclerview
        const val camerax = "1.3.2" // https://developer.android.com/jetpack/androidx/releases/camera#kts
        const val biometric = "1.1.0" // https://developer.android.com/jetpack/androidx/releases/biometric
        const val annotation = "1.7.1" // https://developer.android.com/jetpack/androidx/releases/annotation
        const val annotationExperimental = "1.4.0" // https://developer.android.com/jetpack/androidx/releases/annotation
        const val swipeRefreshLayout = "1.1.0" // https://developer.android.com/jetpack/androidx/releases/swiperefreshlayout
        const val emoji2 = "1.4.0" // https://developer.android.com/jetpack/androidx/releases/emoji2

        // Compose Version
        const val composeCompiler = "1.5.12" // https://developer.android.com/jetpack/androidx/releases/compose
        const val composeAnimation = "1.6.6"// https://developer.android.com/jetpack/androidx/releases/compose
        const val composeActivity = "1.9.0" // https://androidx.tech/artifacts/activity/activity-compose/
        const val compose = "1.6.6" // https://developer.android.com/jetpack/androidx/releases/compose
        const val composeMaterial = "1.6.6" // https://developer.android.com/jetpack/androidx/releases/compose
        const val composeFoundation = "1.6.6" // https://developer.android.com/jetpack/androidx/releases/compose
        const val composeMaterial3 = "1.2.1" // https://developer.android.com/jetpack/androidx/releases/compose
        const val composeNavigation = "2.7.7" // https://androidx.tech/artifacts/navigation/navigation-compose/
        const val composeHiltNavigation = "1.2.0" // https://developer.android.com/jetpack/androidx/releases/hilt

        // https://www.jetbrains.com/help/kotlin-multiplatform-dev/compose-compatibility-and-versioning.html#kotlin-compatibility
        const val composeMultiPlatform = "1.6.1" // https://github.com/JetBrains/compose-jb
        const val multidex = "2.0.1"

        // TestImplementation
        const val junit4 = "4.13.2" // https://junit.org/junit4/

        // androidTestImplementation
        const val runner = "1.3.0"
        const val junit = "1.1.3"
        const val espressoCore = "3.4.0"
    }

    object Google {
        const val accompanist = "0.34.0" // https://github.com/google/accompanist
        const val material = "1.11.0" // https://github.com/material-components/material-components-android/releases
        const val gson = "2.10.1" // https://github.com/google/gson
        const val admob = "23.0.0" // https://developers.google.com/admob/android/sdk
        const val userMessagingPlatform = "2.2.0" // https://developers.google.com/admob/ump/android/quick-start#install_with_gradle
        const val hilt = "2.51.1" // https://dagger.dev/hilt/gradle-setup
        const val adMediationUnityAd = "4.10.0.0" // https://developers.google.com/admob/android/mediation/unity#step_3_import_the_unity_ads_sdk_and_adapter
        const val autoService = "1.1.1"
        const val flexbox = "3.0.0"

        const val featureDelivery = "2.1.0" // https://developer.android.com/guide/playcore
        const val assetDelivery = "2.2.1" // https://developer.android.com/guide/playcore
        const val review = "2.0.1" // https://developer.android.com/guide/playcore
        const val appUpdate = "2.1.0" // https://developer.android.com/guide/playcore

    }

    object JetBrains {
        // https://developer.android.com/jetpack/androidx/releases/compose-kotlin - Compability For Compose Version
        // https://github.com/JetBrains/compose-multiplatform/blob/master/VERSIONING.md#kotlin-compatibility
        const val kotlin = "1.9.23" // https://kotlinlang.org/docs/releases.html#release-details
        const val coroutines = "1.8.0" // https://github.com/Kotlin/kotlinx.coroutines
    }

    object Util {
        const val okHttp = "4.12.0" // https://square.github.io/okhttp/ - https://search.maven.org/search?q=g:com.squareup.okhttp3
        const val retrofit = "2.11.0" // https://github.com/square/retrofit

        const val rxAndroid3 = "3.0.2" // https://github.com/ReactiveX/RxAndroid
        const val rxKotlin3 = "3.0.1" // https://github.com/ReactiveX/RxKotlin
        const val rxJava3 = "3.1.8" // https://github.com/ReactiveX/RxJava

        const val glide = "4.16.0" // https://github.com/bumptech/glide
        const val chucker = "4.0.0" // https://github.com/ChuckerTeam/chucker
        const val coil = "2.6.0" // https://coil-kt.github.io/coil/compose/

        const val koin_bom = "3.5.6"
        const val koin = koin_bom // https://github.com/InsertKoinIO/koin
        const val koin_android = koin_bom // https://github.com/InsertKoinIO/koin
        const val koin_android_compose = koin_bom // https://github.com/InsertKoinIO/koin
        const val koin_ktor = koin_bom // https://github.com/InsertKoinIO/koin

        const val ktor = "2.3.10" // https://ktor.io/
        const val piracyChecker = "1.2.8" // https://github.com/javiersantos/PiracyChecker
        const val customActivityOnCrash = "2.4.0" // https://github.com/Ereza/CustomActivityOnCrash
        const val acra = "5.11.3"

        const val fastAdapter = "5.7.0" // https://github.com/mikepenz/FastAdapter

        const val balloon = "1.6.4" // https://github.com/skydoves/Balloon
    }

}

Download this project

Step 1. Add the JitPack repository to your build file (build.gradle.kts : BuildSrc)

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

Step 2. Add the dependency (build.gradle.kts : BuildSrc)

dependencies {
    // library open-build-src
    implementation("com.github.frogobox:open-build-src:3.0.0")
}

Step 3. Usage (Add on your dependencies build.gradle.kts : app)

Androidx Library

  • Version Planted
implementation(Androidx.appCompat)
implementation(Androidx.appCompatResources)
implementation(Androidx.activityKtx)
implementation(Androidx.fragmentKtx)
implementation(Androidx.constraintLayout)
implementation(Androidx.collection)
implementation(Androidx.savedState)
implementation(Androidx.viewPager)
implementation(Androidx.viewPager2)
implementation(Androidx.recyclerview)
implementation(Androidx.recyclerviewSelection)
implementation(Androidx.preference)
implementation(Androidx.preferenceKtx)
implementation(Androidx.navigationRuntimeKtx)
implementation(Androidx.navigationFragmentKtx)
implementation(Androidx.navigationUiKtx)
  • Custom Version
implementation(Androidx.appCompat("version"))
implementation(Androidx.appCompatResources("version"))
implementation(Androidx.activityKtx("version"))
implementation(Androidx.fragmentKtx("version"))
implementation(Androidx.constraintLayout("version"))
implementation(Androidx.collection("version"))
implementation(Androidx.savedState("version"))
implementation(Androidx.viewPager("version"))
implementation(Androidx.viewPager2("version"))
implementation(Androidx.recyclerview("version"))
implementation(Androidx.recyclerviewSelection("version"))
implementation(Androidx.preference("version"))
implementation(Androidx.preferenceKtx("version"))
implementation(Androidx.navigationRuntimeKtx("version"))
implementation(Androidx.navigationFragmentKtx("version"))
implementation(Androidx.navigationUiKtx("version"))

Androidx Core Library

implementation(Androidx.Core.java)
implementation(Androidx.Core.ktx)
implementation(Androidx.Core.role)
implementation(Androidx.Core.animation)
implementation(Androidx.Core.animationAndroidTest)
implementation(Androidx.Core.googleShortCuts)
implementation(Androidx.Core.remoteViews)
implementation(Androidx.Core.splashScreen)

Androidx Compose Library

implementation(Androidx.Compose.activity)
implementation(Androidx.Compose.ui)
implementation(Androidx.Compose.material)
implementation(Androidx.Compose.uiTooling)
implementation(Androidx.Compose.navigation)
implementation(Androidx.Compose.hiltNavigation)
implementation(Androidx.Compose.uiTestJunit4)
implementation(Androidx.Compose.uiTestManifest)

Androidx Lifecycle Library

implementation(Androidx.Lifecycle.viewmodel)
implementation(Androidx.Lifecycle.viewmodelKtx)
implementation(Androidx.Lifecycle.livedata)
implementation(Androidx.Lifecycle.livedataKtx)
implementation(Androidx.Lifecycle.runtime)
implementation(Androidx.Lifecycle.runtimeKtx)
implementation(Androidx.Lifecycle.viewmodelSavedstate)
implementation(Androidx.Lifecycle.compiler)
implementation(Androidx.Lifecycle.compilerJava8)
implementation(Androidx.Lifecycle.service)
implementation(Androidx.Lifecycle.process)
implementation(Androidx.Lifecycle.reactivestreams)
implementation(Androidx.Lifecycle.reactivestreamsKtx)
implementation(Androidx.Lifecycle.coreTesting)

Androidx Room Library

implementation(Androidx.Room.runtime)
implementation(Androidx.Room.ktx)
implementation(Androidx.Room.rxJava2)
implementation(Androidx.Room.rxJava3)
implementation(Androidx.Room.guava)
implementation(Androidx.Room.paging)
implementation(Androidx.Room.roomTest)
implementation(Androidx.Room.compiler)

Androidx Work Library

implementation(Androidx.Work.runtime)
implementation(Androidx.Work.runtimeKtx)
implementation(Androidx.Work.rxJava2)
implementation(Androidx.Work.gcm)
implementation(Androidx.Work.workAndroidTest)
implementation(Androidx.Work.multiprocess)

Google Library

implementation(Google.accompanist)
implementation(Google.material)
implementation(Google.gson)
implementation(Google.admob)
implementation(Google.userMessagingPlatform)
implementation(Google.adMediationUnityAd)

Hilt

implementation(Google.Hilt.android)
implementation(Google.Hilt.compiler)
implementation(Google.Hilt.hiltAndroidTesting)

JetBrains Library

implementation(JetBrains.coroutinesCore)
implementation(JetBrains.coroutinesAndroid)

Koin Library

implementation(Koin.core)
implementation(Koin.android)
implementation(Koin.androidCompat)
implementation(Koin.androidxWorkManager)
implementation(Koin.androidxCompose)
implementation(Koin.ktor)

testImplementation(Koin.test)

Ktor

implementation(Ktor.clientCore)
implementation(Ktor.clientSerialization)
implementation(Ktor.clientAndroid)
implementation(Ktor.clientMock)

Square Library

implementation(Square.OkHttp.okhttp)
implementation(Square.OkHttp.loggingInterceptor)
implementation(Square.OkHttp.coroutine)

implementation(Square.Retrofit2.retrofit)
implementation(Square.Retrofit2.converterGson)
implementation(Square.Retrofit2.converterJackson)
implementation(Square.Retrofit2.converterMoshi)
implementation(Square.Retrofit2.converterProtobuf)
implementation(Square.Retrofit2.converterWire)
implementation(Square.Retrofit2.converterSimpleXml)
implementation(Square.Retrofit2.converterJAXB)
implementation(Square.Retrofit2.converterScalars)
implementation(Square.Retrofit2.adapterRxJava)
implementation(Square.Retrofit2.adapterRxJava2)
implementation(Square.Retrofit2.adapterRxJava3)

ReactiveX Library

implementation(Reactivex.rxJava3)
implementation(Reactivex.rxAndroid3)
implementation(Reactivex.rxKotlin3)

Ad Library

implementation(Ad.unityAds)

Github Library

implementation(GitHub.glide)
implementation(GitHub.chucker)
implementation(GitHub.keyboard)
implementation(GitHub.ballon)
implementation(Util.FastAdapter.core)

kapt(GitHub.glideCompiler)

Util Library

maven(Util.jitpackUrl)

implementation(Util.coil)

Screenshoot (Step 2. Add the dependency (build.gradle.kts : BuildSrc)

Screenshoot (Step 3. Usage (Add on your dependencies build.gradle.kts : app))

Colaborator

Very open to anyone, I'll write your name under this, please contribute by sending an email to me

  • Mail To faisalamircs@gmail.com
  • Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
  • Example : Github_amirisback_kotlin_admob-helper-implementation

Name Of Contribute

  • Muhammad Faisal Amir
  • Waiting List
  • Waiting List

Waiting for your contribute

Attention !!!

  • Please enjoy and don't forget fork and give a star
  • Don't Forget Follow My Github Account