Skip to content

Instantly share code, notes, and snippets.

@enesozturk
Created April 26, 2020 03:46
Show Gist options
  • Save enesozturk/3bd442e07ede3c8d239dd417234aa3fe to your computer and use it in GitHub Desktop.
Save enesozturk/3bd442e07ede3c8d239dd417234aa3fe to your computer and use it in GitHub Desktop.

Revisions

  1. enesozturk created this gist Apr 26, 2020.
    29 changes: 29 additions & 0 deletions build.gradle
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    // android/app/build.gradle

    buildscript {
    repositories {
    maven { url 'https://plugins.gradle.org/m2/' } // Gradle Plugin Portal
    }
    dependencies {
    classpath 'gradle.plugin.com.onesignal:onesignal-gradle-plugin:[0.12.1, 0.99.99]'
    }
    }

    apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin'
    // dosyanın geri kalanı aşağıda...

    ---------------------

    // android/build.gradle

    buildscript {
    ext {
    buildToolsVersion = "28.0.3"
    minSdkVersion = 16
    compileSdkVersion = 28
    targetSdkVersion = 28
    supportLibVersion = "28.0.0"
    }
    .
    .
    }