diff --git a/jitpack.yml b/jitpack.yml new file mode 100644 index 0000000..4fa7fc6 --- /dev/null +++ b/jitpack.yml @@ -0,0 +1,4 @@ +jdk: + - openjdk 11 +before install: + - ./scripts/prepareJitpackEnvironment.sh \ No newline at end of file diff --git a/wheel-picker-compose/build.gradle b/wheel-picker-compose/build.gradle index 589c4fe..e28d8a6 100644 --- a/wheel-picker-compose/build.gradle +++ b/wheel-picker-compose/build.gradle @@ -1,6 +1,7 @@ plugins { id 'com.android.library' id 'org.jetbrains.kotlin.android' + id 'maven-publish' } android { @@ -43,4 +44,18 @@ dependencies { implementation "androidx.compose.material3:material3:1.0.0-alpha15" implementation "dev.chrisbanes.snapper:snapper:0.3.0" +} + +afterEvaluate { + publishing{ + publications { + release(MavenPublication){ + from components.release + + groupId = 'com.github.commandiron' + artifactId = 'wheel-picker-compose' + version = '1.0' + } + } + } } \ No newline at end of file