apply plugin: 'com.novoda.bintray-release' apply plugin: 'com.android.library' repositories { google() } publish { userOrg = 'farmerbb' repoName = 'libtaskbar' groupId = 'com.farmerbb' artifactId = 'libtaskbar' publishVersion = '1.0.0-alpha1' desc = 'libtaskbar allows you to quickly and easily add support for Android 10\'s Desktop Mode to any third-party launcher, powered by the Taskbar app.' website = 'https://github.com/farmerbb/Taskbar' } android { compileSdkVersion SDK_VERSION buildToolsVersion BUILD_TOOLS_VERSION defaultConfig { minSdkVersion MIN_SDK_VERSION targetSdkVersion SDK_VERSION versionCode VERSION_CODE versionName VERSION_NAME buildConfigField "String", "BASE_APPLICATION_ID", "\"com.farmerbb.taskbar\"" buildConfigField "String", "PAID_APPLICATION_ID", "\"com.farmerbb.taskbar.paid\"" buildConfigField "String", "SUPPORT_APPLICATION_ID", "\"com.farmerbb.taskbar.support\"" buildConfigField "String", "ANDROIDX86_APPLICATION_ID", "\"com.farmerbb.taskbar.androidx86\"" } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } sourceSets { main { java { srcDirs('../app/src/main/java', '../app/src/lib/java', '../app/src/nonplaystore/java', "../app/src/compat-${SDK_VERSION}/java") } res { srcDirs('../app/src/main/res', '../app/src/lib/res') } manifest.srcFile '../app/src/lib/AndroidManifest.xml' } } lintOptions { abortOnError false } } dependencies { implementation "com.android.support:support-v4:${SUPPORT_LIBRARY_VERSION}" implementation "com.android.support:appcompat-v7:${SUPPORT_LIBRARY_VERSION}" implementation "com.android.support:design:${SUPPORT_LIBRARY_VERSION}" }