Created
October 6, 2023 11:41
-
-
Save RhymezxCode/c992d5dafda584631356918863584b94 to your computer and use it in GitHub Desktop.
TrackMe module ( build.gradle )
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins { | |
id 'com.android.library' | |
id 'org.jetbrains.kotlin.android' | |
id 'maven-publish' | |
} | |
android { | |
namespace 'io.github.rhymezxcode.trackme' | |
compileSdk 33 | |
defaultConfig { | |
minSdk 21 | |
targetSdk 33 | |
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | |
consumerProguardFiles "consumer-rules.pro" | |
} | |
buildTypes { | |
release { | |
minifyEnabled false | |
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | |
} | |
} | |
compileOptions { | |
sourceCompatibility JavaVersion.VERSION_1_8 | |
targetCompatibility JavaVersion.VERSION_1_8 | |
} | |
kotlinOptions { | |
jvmTarget = '1.8' | |
} | |
publishing { | |
publishing { | |
singleVariant("release") { | |
withSourcesJar() | |
withJavadocJar() | |
} | |
} | |
} | |
} | |
dependencies { | |
implementation 'androidx.appcompat:appcompat:1.5.1' | |
} | |
publishing { | |
publications { | |
release(MavenPublication) { | |
groupId = 'com.github.RhymezxCode' | |
artifactId = 'TrackMe' | |
version = '1.0.0' | |
afterEvaluate { | |
from components.release | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment