Skip to content

Commit

Permalink
Configure library build
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobras committed Dec 28, 2021
1 parent 0e41b30 commit 8d747ca
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
15 changes: 15 additions & 0 deletions compose-action-menu/build.gradle
@@ -1,6 +1,7 @@
plugins {
id 'com.android.library'
id 'org.jetbrains.kotlin.android'
id 'maven-publish'
}

android {
Expand Down Expand Up @@ -36,6 +37,20 @@ android {
}
}

afterEvaluate {
publishing {
publications {
release(MavenPublication) {
from components.release

groupId = 'com.github.jacobras'
artifactId = 'composeactionmenu'
version = '1.0.0'
}
}
}
}

dependencies {
implementation deps.composeActivity
implementation deps.composeCompiler
Expand Down
2 changes: 1 addition & 1 deletion compose-action-menu/src/main/AndroidManifest.xml
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="nl.jacobras.composeactionmenu" />
<manifest package="nl.jacobras.composeactionmenu.sample" />
Expand Up @@ -21,6 +21,7 @@ import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.tooling.preview.Devices
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.unit.dp
import nl.jacobras.composeactionmenu.sample.R

@Composable
internal fun OverflowActionItem(
Expand Down
2 changes: 2 additions & 0 deletions jitpack.yml
@@ -0,0 +1,2 @@
jdk:
-openjdk11

0 comments on commit 8d747ca

Please sign in to comment.