diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 5187971..9a005ac 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -18,4 +18,4 @@ jobs: with: java-version: 1.8 - name: Build with Gradle - run: ./gradlew -PMAVEN_UPLOAD_USER=${{ secrets.SONATYPE_USER }} -PMAVEN_UPLOAD_PWD=${{ secrets.SONATYPE_PASSWORD }} -PPGP_SIGNING_KEY="${{ secrets.PGP_SIGNING_KEY }}" -PPGP_SIGNING_PASSWORD="${{ secrets.PGP_SIGNING_PASSWORD }}" :library:publish + run: ./gradlew -PMAVEN_UPLOAD_USER=${{ secrets.SONATYPE_USER }} -PMAVEN_UPLOAD_PWD=${{ secrets.SONATYPE_PASSWORD }} -PPGP_SIGNING_KEY="${{ secrets.PGP_SIGNING_KEY }}" -PPGP_SIGNING_PASSWORD="${{ secrets.PGP_SIGNING_PASSWORD }}" build publish diff --git a/.github/workflows/android2.yml b/.github/workflows/android2.yml new file mode 100644 index 0000000..af7ebec --- /dev/null +++ b/.github/workflows/android2.yml @@ -0,0 +1,21 @@ +name: Publish library artifact to Maven Central + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Publish with Gradle to Maven Central + run: ./gradlew -PMAVEN_UPLOAD_USER=${{ secrets.SONATYPE_USER }} -PMAVEN_UPLOAD_PWD=${{ secrets.SONATYPE_PASSWORD }} -PPGP_SIGNING_KEY="${{ secrets.PGP_SIGNING_KEY }}" -PPGP_SIGNING_PASSWORD="${{ secrets.PGP_SIGNING_PASSWORD }}" :library:build :library:publishAllPublicationsToMavenCentralRepository diff --git a/README.md b/README.md index b9ba54b..bcec5a9 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ The main goal of the library is to apply all its functions in the process of wor by gradle : ```groovy dependencies { - implementation "com.cleveroad:adaptivetablelayout:1.2.1" + implementation "com.cleveroad:adaptivetablelayout:1.3.0" } ``` ### Features ### diff --git a/build.gradle b/build.gradle index 1fcb2cc..f3bd3e2 100644 --- a/build.gradle +++ b/build.gradle @@ -1,29 +1,26 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.gradle_tools_version = '3.2.0' + ext.gradle_tools_version = '3.5.3' ext.support_version = '1.1.0' ext.glide_version = '4.7.1' repositories { - jcenter() google() + jcenter() } dependencies { classpath "com.android.tools.build:gradle:$gradle_tools_version" - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files } } allprojects { repositories { - jcenter() google() + jcenter() } } task clean(type: Delete) { delete rootProject.buildDir -} \ No newline at end of file +}